ERR: Only link qt to qt executable
This commit is contained in:
parent
847bda5270
commit
ae2020333a
|
@ -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)
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue