mirror of https://github.com/Icinga/icinga2.git
Allow MYSQL_LIB to be specified by ENV variable
This commit is contained in:
parent
636ed8e238
commit
bf909ce47f
|
@ -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}
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue