diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-22 19:22:43 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-22 19:22:43 (GMT) |
commit | fb8a239f94572f68420cef83bd8f0977cac91d07 (patch) | |
tree | b3eec186c59f15f1c835d1edb92e7ebd23f6a398 /Tests/Wrapping | |
parent | 3c900bbbd9e2844069483b7ac08de3f4fa7d30f7 (diff) | |
download | CMake-fb8a239f94572f68420cef83bd8f0977cac91d07.zip CMake-fb8a239f94572f68420cef83bd8f0977cac91d07.tar.gz CMake-fb8a239f94572f68420cef83bd8f0977cac91d07.tar.bz2 |
ENH: make sure it is qt3 before running test
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 9197fc0..e39375b 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -104,7 +104,7 @@ SET (QT_WRAP_CPP "On") SET (QT_MOC_EXE "echo") INCLUDE( FindQt3 ) -IF (QT_FOUND AND QT_UIC_EXECUTABLE) +IF (QT_FOUND AND QT_WRAP_UI) message("found qt 3 test it...") INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ) INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ) @@ -132,7 +132,7 @@ IF (QT_FOUND AND QT_UIC_EXECUTABLE) TARGET_LINK_LIBRARIES(qtwrapping myqtlib) TARGET_LINK_LIBRARIES( qtwrapping ${QT_LIBRARIES} ) -ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE) +ENDIF (QT_FOUND AND QT_WRAP_UI) # # FLTK Wrappers |