summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-22 19:26:01 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-22 19:26:01 (GMT)
commit05e12b0ba54056f0a6beddaf9343cd818c868caf (patch)
tree87e8c3722b566c3470fcb053dbfe9f6961b3f93b /Source/CMakeLists.txt
parentfb8a239f94572f68420cef83bd8f0977cac91d07 (diff)
downloadCMake-05e12b0ba54056f0a6beddaf9343cd818c868caf.zip
CMake-05e12b0ba54056f0a6beddaf9343cd818c868caf.tar.gz
CMake-05e12b0ba54056f0a6beddaf9343cd818c868caf.tar.bz2
ENH: make sure it is qt3 before running test
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 8bd39a1..fc0702d 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -729,7 +729,7 @@ IF(BUILD_TESTING)
QT_QT_LIBRARY
QT_UIC_EXE)
- IF (QT_FOUND AND QT_UIC_EXECUTABLE)
+ IF (QT_FOUND AND QT_WRAP_UI)
ADD_TEST(qtwrapping ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/Wrapping"
@@ -740,7 +740,7 @@ IF(BUILD_TESTING)
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
--test-command qtwrapping
)
- ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE)
+ ENDIF (QT_FOUND AND QT_WRAP_UI)
ADD_TEST(testdriver1 ${CMAKE_CTEST_COMMAND}
--build-and-test