|
|
@ -54,10 +54,14 @@ ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
|
|
|
|
|
|
|
|
|
|
|
|
IF(MYSQL_INCLUDE_DIR)
|
|
|
|
IF(MYSQL_INCLUDE_DIR)
|
|
|
|
IF(MYSQL_LIBRARY_RELEASE)
|
|
|
|
IF(MYSQL_LIBRARY_RELEASE)
|
|
|
|
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})
|
|
|
|
ENDIF(MYSQL_LIBRARY_DEBUG)
|
|
|
|
ENDIF(MYSQL_LIBRARY_DEBUG)
|
|
|
|
|
|
|
|
FIND_PACKAGE(OpenSSL)
|
|
|
|
|
|
|
|
IF(OPENSSL_FOUND)
|
|
|
|
|
|
|
|
SET(MYSQL_LIBRARIES ${MYSQL_LIBRARIES} ${OPENSSL_LIBRARIES})
|
|
|
|
|
|
|
|
ENDIF(OPENSSL_FOUND)
|
|
|
|
ENDIF(MYSQL_LIBRARY_RELEASE)
|
|
|
|
ENDIF(MYSQL_LIBRARY_RELEASE)
|
|
|
|
ENDIF(MYSQL_INCLUDE_DIR)
|
|
|
|
ENDIF(MYSQL_INCLUDE_DIR)
|
|
|
|
|
|
|
|
|
|
|
|