mirror of https://github.com/Icinga/icinga2.git
parent
b5b09216c6
commit
16742f83ba
|
@ -69,22 +69,6 @@ IF (WIN32)
|
||||||
$ENV{ProgramFiles}/MySQL/*/lib/${libsuffixDist}
|
$ENV{ProgramFiles}/MySQL/*/lib/${libsuffixDist}
|
||||||
$ENV{SystemDrive}/MySQL/*/lib/${libsuffixDist})
|
$ENV{SystemDrive}/MySQL/*/lib/${libsuffixDist})
|
||||||
ELSE (WIN32)
|
ELSE (WIN32)
|
||||||
SET(MYSQL_CLIENT_LIBS mysqlclient_r)
|
|
||||||
FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient_r
|
|
||||||
PATHS
|
|
||||||
$ENV{MYSQL_DIR}/libmysql_r/.libs
|
|
||||||
$ENV{MYSQL_DIR}/lib
|
|
||||||
$ENV{MYSQL_DIR}/lib/mysql
|
|
||||||
/usr/lib/mysql
|
|
||||||
/usr/local/lib/mysql
|
|
||||||
/usr/local/mysql/lib
|
|
||||||
/usr/local/mysql/lib/mysql
|
|
||||||
/opt/local/mysql5/lib
|
|
||||||
/opt/local/lib/mysql5/mysql
|
|
||||||
/opt/mysql/mysql/lib/mysql
|
|
||||||
/opt/mysql/lib/mysql)
|
|
||||||
|
|
||||||
IF(NOT MYSQL_LIB)
|
|
||||||
SET(MYSQL_CLIENT_LIBS mysqlclient)
|
SET(MYSQL_CLIENT_LIBS mysqlclient)
|
||||||
FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient
|
FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient
|
||||||
PATHS
|
PATHS
|
||||||
|
@ -99,7 +83,6 @@ ELSE (WIN32)
|
||||||
/opt/local/lib/mysql5/mysql
|
/opt/local/lib/mysql5/mysql
|
||||||
/opt/mysql/mysql/lib/mysql
|
/opt/mysql/mysql/lib/mysql
|
||||||
/opt/mysql/lib/mysql)
|
/opt/mysql/lib/mysql)
|
||||||
ENDIF (NOT MYSQL_LIB)
|
|
||||||
ENDIF (WIN32)
|
ENDIF (WIN32)
|
||||||
|
|
||||||
IF(MYSQL_LIB)
|
IF(MYSQL_LIB)
|
||||||
|
|
Loading…
Reference in New Issue