Changeset 20008 for trunk/FACT++/CMakeLists.txt
- Timestamp:
- 12/02/20 11:50:06 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r20007 r20008 5 5 CMAKE_POLICY(SET CMP0043 NEW) 6 6 CMAKE_POLICY(SET CMP0048 NEW) 7 CMAKE_POLICY(SET CMP0072 NEW) # OpenGL vs OpenGLVND 7 IF(POLICY CMP0072) 8 CMAKE_POLICY(SET CMP0072 NEW) # OpenGL vs OpenGLVND 9 ENDIF() 8 10 9 11 # Enable debug symbols by default … … 26 28 #SET(CMAKE_VERBOSE_MAKEFILE ON) 27 29 30 MESSAGE(STATUS "CMake Version " ${CMAKE_VERSION}) 28 31 29 32 # ********************************* … … 213 216 INCLUDE(GetPrerequisites) 214 217 218 # Deprecated since version 3.16: Use file(GET_RUNTIME_DEPENDENCIES) instead. 219 215 220 FIND_PACKAGE(MySQL++ REQUIRED) 216 221 … … 218 223 GET_PREREQUISITES(${MYSQLPP_LIBRARY} MYSQL_LIBRARY 0 0 "" "") 219 224 LIST(FILTER MYSQL_LIBRARY INCLUDE REGEX .*mysqlclient.*) 220 IF ( DEFINED MYSQL_LIBRARY)225 IF (MYSQL_LIB1RARY) 221 226 FIND_PACKAGE_MESSAGE(MysqlLib "MySQL++ links to ${MYSQL_LIBRARY}" "[${MYSQL_LIBRARY}]") 222 ENDIF() 227 ELSE() 228 UNSET(MYSQL_LIBRARY) 229 ENDIF() 223 230 ENDIF() 224 231
Note:
See TracChangeset
for help on using the changeset viewer.