ENH: make sure it is qt3 before running test

This commit is contained in:
Bill Hoffman 2006-11-22 14:22:43 -05:00
parent 3c900bbbd9
commit fb8a239f94
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ SET (QT_WRAP_CPP "On")
SET (QT_MOC_EXE "echo") SET (QT_MOC_EXE "echo")
INCLUDE( FindQt3 ) INCLUDE( FindQt3 )
IF (QT_FOUND AND QT_UIC_EXECUTABLE) IF (QT_FOUND AND QT_WRAP_UI)
message("found qt 3 test it...") message("found qt 3 test it...")
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ) INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_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 myqtlib)
TARGET_LINK_LIBRARIES( qtwrapping ${QT_LIBRARIES} ) TARGET_LINK_LIBRARIES( qtwrapping ${QT_LIBRARIES} )
ENDIF (QT_FOUND AND QT_UIC_EXECUTABLE) ENDIF (QT_FOUND AND QT_WRAP_UI)
# #
# FLTK Wrappers # FLTK Wrappers