Skip to content

Commit

Permalink
Merge pull request #6107 from MichalMMac/master
Browse files Browse the repository at this point in the history
Allow MYSQL_LIB to be specified by ENV variable
  • Loading branch information
gunnarbeutner authored Feb 26, 2018
2 parents 3caf480 + bf909ce commit e952302
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third-party/cmake/FindMySQL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ IF (WIN32)

FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient
PATHS
$ENV{MYSQL_DIR}
$ENV{MYSQL_DIR}/lib/${libsuffixDist}
$ENV{MYSQL_DIR}/libmysql
$ENV{MYSQL_DIR}/libmysql/${libsuffixBuild}
Expand All @@ -82,6 +83,7 @@ ELSE (WIN32)

FIND_LIBRARY(MYSQL_LIB NAMES ${MYSQL_CLIENT_LIBS}
PATHS
$ENV{MYSQL_DIR}
$ENV{MYSQL_DIR}/libmysql_r/.libs
$ENV{MYSQL_DIR}/lib
$ENV{MYSQL_DIR}/lib/mysql
Expand Down

0 comments on commit e952302

Please sign in to comment.