Changeset 119 in pacpusframework for branches/2.0-beta1/cmake/PacpusDependencies.cmake
- Timestamp:
- Jun 28, 2013, 4:56:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/cmake/PacpusDependencies.cmake
r92 r119 14 14 set(PACPUS_DEPENDENCIES_INC "") 15 15 set(PACPUS_DEPENDENCIES_LIB "") 16 17 if(NOT QT5) 18 find_package(Qt4) 19 if(NOT QT4_FOUND) 20 message(WARNING "Qt4 not found try to find Qt5") 21 set(QT5 TRUE) 22 endif() 23 endif() 24 25 if(QT5) 16 26 17 27 # ======================================== … … 63 73 endif() 64 74 75 else(QT5) 76 77 # ======================================== 78 # All the Pacpus' modules depends from Qt4 79 # However, since each module requires specific Qt's modules, they have to include their own QT_USE_FILE 80 # ======================================== 81 find_package(Qt4 REQUIRED) 82 83 endif(QT5) 84 65 85 # ======================================== 66 86 # Boost
Note:
See TracChangeset
for help on using the changeset viewer.