2010-04-30 20:22:31 +08:00
|
|
|
SET( TARGET_SRC
|
2011-05-16 17:17:30 +08:00
|
|
|
osgviewerQt.cpp
|
2010-04-30 20:22:31 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
IF( QT4_FOUND )
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} )
|
|
|
|
ADD_DEFINITIONS(-DUSE_QT4)
|
|
|
|
ELSE( QT4_FOUND )
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_LIBRARIES} )
|
|
|
|
ENDIF( QT4_FOUND )
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
|
2010-12-14 00:25:50 +08:00
|
|
|
|
|
|
|
SET(TARGET_ADDED_LIBRARIES osgWidget osgQt)
|
|
|
|
|
2011-05-16 17:17:30 +08:00
|
|
|
SETUP_EXAMPLE( osgviewerQt )
|