diff options
author | Brad King <brad.king@kitware.com> | 2005-03-16 09:55:08 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-03-16 09:55:08 -0500 |
commit | db10dc0f1ee66d1deeb5ad4ec6bf744e452d157c (patch) | |
tree | e8b8988f93a0c3fe6249c86f6ae6fac066925c9f /Tests/Wrapping | |
parent | 59ae67558fc1655be705a56dd4b5057be7690ed2 (diff) | |
download | cmake-db10dc0f1ee66d1deeb5ad4ec6bf744e452d157c.tar.gz |
BUG: Do not add Qt wrapping test unless QT is found and QT_UIC_EXECUTABLE is found.
Diffstat (limited to 'Tests/Wrapping')
-rw-r--r-- | Tests/Wrapping/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index cbf23c0048..d7adc4f1f0 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -104,7 +104,7 @@ SET (QT_MOC_EXE "echo") INCLUDE( ${CMAKE_ROOT}/Modules/FindQt.cmake ) -IF (QT_FOUND) +IF (QT_FOUND AND QT_UIC_EXECUTABLE) INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ) INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ) @@ -132,7 +132,7 @@ IF (QT_FOUND) TARGET_LINK_LIBRARIES(qtwrapping myqtlib) TARGET_LINK_LIBRARIES( qtwrapping ${QT_LIBRARIES} ) -ENDIF (QT_FOUND) +ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE) # # FLTK Wrappers |