Changeset 19998


Ignore:
Timestamp:
09/24/20 20:26:59 (4 years ago)
Author:
tbretz
Message:
Automatically disable gui
File:
1 edited

Legend:

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

    r19997 r19998  
    268268      IF(DEFINED Qt5_DIR AND NOT Qt5_DIR)
    269269         MESSAGE(WARNING "  You need Qt5 but it seems that the development package\n  with the cmake module file is missing.")
     270      ELSE()
     271         FIND_PACKAGE(Qt5 COMPONENTS Core Gui OpenGL Sql Xml REQUIRED)
    270272      ENDIF()
    271       FIND_PACKAGE(Qt5 COMPONENTS Core Gui OpenGL Sql Xml REQUIRED)
    272273      FIND_PACKAGE_MESSAGE(Qt5Found2 "Found Qt5: fact GUI will be disabled" "[${Qt5_FOUND}]")
    273274      SET(Qt Qt5)
Note: See TracChangeset for help on using the changeset viewer.