mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 09:49:05 +00:00
Allow linking debug and release with same mysql lib if no specific debug lib.
This commit is contained in:
parent
e1397a0dc3
commit
779d2c1892
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
|
||||||
SET(MYSQL_LIBRARIES optimized ${MYSQL_LIBRARY_RELEASE})
|
SET(MYSQL_LIBRARIES optimized ${MYSQL_LIBRARY_RELEASE})
|
||||||
IF(MYSQL_LIBRARY_DEBUG)
|
IF(MYSQL_LIBRARY_DEBUG)
|
||||||
SET(MYSQL_LIBRARIES ${MYSQL_LIBRARIES} debug ${MYSQL_LIBRARY_DEBUG})
|
SET(MYSQL_LIBRARIES ${MYSQL_LIBRARIES} debug ${MYSQL_LIBRARY_DEBUG})
|
||||||
|
ELSE(MYSQL_LIBRARY_DEBUG)
|
||||||
|
SET(MYSQL_LIBRARIES ${MYSQL_LIBRARIES} debug ${MYSQL_LIBRARY_RELEASE})
|
||||||
ENDIF(MYSQL_LIBRARY_DEBUG)
|
ENDIF(MYSQL_LIBRARY_DEBUG)
|
||||||
FIND_PACKAGE(OpenSSL)
|
FIND_PACKAGE(OpenSSL)
|
||||||
IF(OPENSSL_FOUND)
|
IF(OPENSSL_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue