diff options
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 cbf23c0..d7adc4f 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 |