Changeset 19997


Ignore:
Timestamp:
09/24/20 20:20:58 (4 years ago)
Author:
tbretz
Message:
Added a warning when the Qt5-dev package is missing but Qt5 is required
File:
1 edited

Legend:

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

    r19996 r19997  
    264264      IF (NOT FORCE_QT5)
    265265         FIND_PACKAGE_MESSAGE(Qt4NotFound "Qt4 [or one of: Core Gui OpenGL Sql Xml] NOT found, trying Qt5!" "[${Qt4_FOUND}]")
     266      ENDIF()
     267      FIND_PACKAGE(Qt5 QUIET)
     268      IF(DEFINED Qt5_DIR AND NOT Qt5_DIR)
     269         MESSAGE(WARNING "  You need Qt5 but it seems that the development package\n  with the cmake module file is missing.")
    266270      ENDIF()
    267271      FIND_PACKAGE(Qt5 COMPONENTS Core Gui OpenGL Sql Xml REQUIRED)
     
    745749   MANPAGE(calcsource "")
    746750
     751   ADD_EXECUTABLE(countevents src/countevents.cc)
     752   TARGET_LINK_LIBRARIES(countevents ${HELP++LIBS} ${ROOT_LIBRARIES})
     753
    747754   ADD_EXECUTABLE(calcsourcemc src/calcsourcemc.cc)
    748755   TARGET_LINK_LIBRARIES(calcsourcemc ${HELP++LIBS} ${ROOT_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.