mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6107 from MichalMMac/master
Allow MYSQL_LIB to be specified by ENV variable
This commit is contained in:
commit
e952302e08
|
@ -66,6 +66,7 @@ IF (WIN32)
|
||||||
|
|
||||||
FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient
|
FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient
|
||||||
PATHS
|
PATHS
|
||||||
|
$ENV{MYSQL_DIR}
|
||||||
$ENV{MYSQL_DIR}/lib/${libsuffixDist}
|
$ENV{MYSQL_DIR}/lib/${libsuffixDist}
|
||||||
$ENV{MYSQL_DIR}/libmysql
|
$ENV{MYSQL_DIR}/libmysql
|
||||||
$ENV{MYSQL_DIR}/libmysql/${libsuffixBuild}
|
$ENV{MYSQL_DIR}/libmysql/${libsuffixBuild}
|
||||||
|
@ -82,6 +83,7 @@ ELSE (WIN32)
|
||||||
|
|
||||||
FIND_LIBRARY(MYSQL_LIB NAMES ${MYSQL_CLIENT_LIBS}
|
FIND_LIBRARY(MYSQL_LIB NAMES ${MYSQL_CLIENT_LIBS}
|
||||||
PATHS
|
PATHS
|
||||||
|
$ENV{MYSQL_DIR}
|
||||||
$ENV{MYSQL_DIR}/libmysql_r/.libs
|
$ENV{MYSQL_DIR}/libmysql_r/.libs
|
||||||
$ENV{MYSQL_DIR}/lib
|
$ENV{MYSQL_DIR}/lib
|
||||||
$ENV{MYSQL_DIR}/lib/mysql
|
$ENV{MYSQL_DIR}/lib/mysql
|
||||||
|
|
Loading…
Reference in New Issue