Changeset 19395 for trunk/FACT++


Ignore:
Timestamp:
11/14/18 16:25:26 (6 years ago)
Author:
tbretz
Message:
Check CCfits after CCFitsio because of their dependencies. Print the MySQL message only once.
File:
1 edited

Legend:

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

    r19393 r19395  
    131131FIND_PACKAGE(Panel    REQUIRED)
    132132FIND_PACKAGE(V8       REQUIRED)
     133FIND_PACKAGE(CCfits   REQUIRED)  # First as Cfitsio is a dependency
    133134FIND_PACKAGE(Cfitsio  REQUIRED)
    134 FIND_PACKAGE(CCfits   REQUIRED)
    135135
    136136ENDIF(NOT TOOLS_ONLY)
     
    166166        LIST(FILTER MYSQL_LIBRARY INCLUDE REGEX .*mysqlclient.*)
    167167        IF (DEFINED MYSQL_LIBRARY)
    168                 MESSAGE(STATUS "MySQL++ links to " ${MYSQL_LIBRARY})
     168                FIND_PACKAGE_MESSAGE(MysqlLib "MySQL++ links to ${MYSQL_LIBRARY}" "[${MYSQL_LIBRARY}]")
    169169        ENDIF()
    170170ENDIF()
Note: See TracChangeset for help on using the changeset viewer.