diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-01 13:18:43 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-01 13:18:43 (GMT) |
commit | ae2020333a7d281061192012037fb19370cd7a63 (patch) | |
tree | 0c3bad1cc005d7d9bacd304ebd5334e2c6cd0fdb /Tests/Wrapping/CMakeLists.txt | |
parent | 847bda527000f6adc41f86d7c9ecc3ffb0ae1d50 (diff) | |
download | CMake-ae2020333a7d281061192012037fb19370cd7a63.zip CMake-ae2020333a7d281061192012037fb19370cd7a63.tar.gz CMake-ae2020333a7d281061192012037fb19370cd7a63.tar.bz2 |
ERR: Only link qt to qt executable
Diffstat (limited to 'Tests/Wrapping/CMakeLists.txt')
-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) # |