diff options
Diffstat (limited to 'Tests/Wrapping')
-rw-r--r-- | Tests/Wrapping/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 962a7cd..cf84871 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -105,7 +105,6 @@ IF (QT_FOUND) INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ) INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ) - LINK_LIBRARIES( ${QT_LIBRARIES} ) QT_WRAP_CPP (wraplibQT QT_SRCS SRCS) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/foo.ui.in @@ -121,6 +120,7 @@ IF (QT_FOUND) ADD_EXECUTABLE (qtwrapping qtwrappingmain.cxx QTUI_S_SRCS) + TARGET_LINK_LIBRARIES( qtwrapping ${QT_LIBRARIES} ) ENDIF (QT_FOUND) # |