Mercurial > trustbridge
comparison CMakeLists.txt @ 618:7dfa4555fb89
Include common before ui to make common targets known
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 19 Jun 2014 17:44:27 +0200 |
parents | 5cd525fc91de |
children | a5a709c6ce93 |
comparison
equal
deleted
inserted
replaced
617:63a128400bf3 | 618:7dfa4555fb89 |
---|---|
97 ${CMAKE_SOURCE_DIR}/common | 97 ${CMAKE_SOURCE_DIR}/common |
98 ) | 98 ) |
99 add_dependencies(static_check flawfinder) | 99 add_dependencies(static_check flawfinder) |
100 endif (FLAWFINDER_PATH) | 100 endif (FLAWFINDER_PATH) |
101 | 101 |
102 add_subdirectory(common) | |
103 | |
102 add_subdirectory(cinst) | 104 add_subdirectory(cinst) |
103 if(Qt5Widgets_FOUND) | 105 if(Qt5Widgets_FOUND) |
104 add_subdirectory(ui) | 106 add_subdirectory(ui) |
105 else() | 107 else() |
106 message(STATUS "WARNING: Could not find qt. GUI parts will not be built.") | 108 message(STATUS "WARNING: Could not find qt. GUI parts will not be built.") |
107 endif() | 109 endif() |
108 | |
109 add_subdirectory(common) | |
110 | 110 |
111 # Documentation | 111 # Documentation |
112 configure_file (doc/Doxyfile.in doc/Doxyfile) | 112 configure_file (doc/Doxyfile.in doc/Doxyfile) |
113 add_subdirectory(doc) | 113 add_subdirectory(doc) |
114 | 114 |