2007-12-08 23:46:19 +08:00
|
|
|
SET(TARGET_SRC
|
|
|
|
QOSGWidget.cpp
|
|
|
|
AdapterWidget.cpp
|
|
|
|
osgviewerQT.cpp
|
|
|
|
)
|
2007-06-03 17:09:09 +08:00
|
|
|
|
|
|
|
IF (QT4_FOUND)
|
2010-03-05 20:43:03 +08:00
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} )
|
2007-06-12 18:19:27 +08:00
|
|
|
ADD_DEFINITIONS(-DUSE_QT4)
|
|
|
|
ELSE(QT4_FOUND)
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_LIBRARIES} )
|
2007-06-03 17:09:09 +08:00
|
|
|
ENDIF(QT4_FOUND)
|
|
|
|
|
2007-06-12 18:19:27 +08:00
|
|
|
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} )
|
|
|
|
|
2007-06-03 17:09:09 +08:00
|
|
|
#### end var setup ###
|
|
|
|
SETUP_EXAMPLE(osgviewerQT)
|