ERR: Only link qt to qt executable

This commit is contained in:
Andy Cedilnik 2003-08-01 09:18:43 -04:00
parent 847bda5270
commit ae2020333a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
#