Ignore:
Timestamp:
09/08/18 21:51:10 (6 years ago)
Author:
tbretz
Message:
cmake 3.5 unfortunately doesn't know LIST(FILTER) yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19225 r19226  
    150150FIND_PACKAGE(MySQL++ REQUIRED)
    151151
    152 IF(NOT DEFINED MYSQL_LIBRARY)
     152IF(NOT DEFINED MYSQL_LIBRARY AND CMAKE_VERSION VERSION_GREATER 3.5)
    153153        GET_PREREQUISITES(${MYSQLPP_LIBRARY} MYSQL_LIBRARY 0 0 "" "")
    154154        LIST(FILTER MYSQL_LIBRARY INCLUDE REGEX .*mysqlclient.*)
Note: See TracChangeset for help on using the changeset viewer.