CMakeLists.txt 406 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
# Package dependencies:
FIND_PACKAGE( Qt4 REQUIRED )

# Includes:
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )

# Libraries for linking:
SET( QT_LINK_LIBRARIES ${QT_QTCORE_LIBRARY}
                       ${QT_QTGUI_LIBRARY}
                       ${QT_QTOPENGL_LIBRARY} )

12 13 14 15
FILE(GLOB GUI_QT4_SRC "*.cpp")

ADD_LIBRARY( guiqt4 SHARED ${GUI_QT4_SRC} )

16
TARGET_LINK_LIBRARIES( guiqt4 gui ge ${QT_LINK_LIBRARIES} )