diff options
author | Brad King <brad.king@kitware.com> | 2005-03-16 14:55:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-03-16 14:55:08 (GMT) |
commit | db10dc0f1ee66d1deeb5ad4ec6bf744e452d157c (patch) | |
tree | e8b8988f93a0c3fe6249c86f6ae6fac066925c9f /Source | |
parent | 59ae67558fc1655be705a56dd4b5057be7690ed2 (diff) | |
download | CMake-db10dc0f1ee66d1deeb5ad4ec6bf744e452d157c.zip CMake-db10dc0f1ee66d1deeb5ad4ec6bf744e452d157c.tar.gz CMake-db10dc0f1ee66d1deeb5ad4ec6bf744e452d157c.tar.bz2 |
BUG: Do not add Qt wrapping test unless QT is found and QT_UIC_EXECUTABLE is found.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 7df4d0b..badbf76 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -463,7 +463,7 @@ IF(BUILD_TESTING) QT_QT_LIBRARY QT_UIC_EXE) - IF (QT_FOUND) + IF (QT_FOUND AND QT_UIC_EXECUTABLE) ADD_TEST(qtwrapping ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/Wrapping" @@ -474,7 +474,7 @@ IF(BUILD_TESTING) --build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin" --test-command qtwrapping ) - ENDIF (QT_FOUND) + ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE) ADD_TEST(testdriver1 ${CMAKE_CTEST_COMMAND} --build-and-test |