summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt4
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