root/OpenSceneGraph/trunk/examples/osgviewerQt/CMakeLists.txt @ 12415

Revision 12415, 416 bytes (checked in by robert, 4 years ago)

Renamed example from osgviewerQtContext to osgviewerQt.

  • Property svn:eol-style set to native
Line 
1SET( TARGET_SRC
2    osgviewerQt.cpp
3)
4
5IF( QT4_FOUND )
6    SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} )
7    ADD_DEFINITIONS(-DUSE_QT4)
8ELSE( QT4_FOUND )
9    SET(TARGET_EXTERNAL_LIBRARIES ${QT_LIBRARIES} )
10ENDIF( QT4_FOUND )
11
12INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
13
14SET(TARGET_ADDED_LIBRARIES osgWidget osgQt)
15
16SETUP_EXAMPLE( osgviewerQt )
Note: See TracBrowser for help on using the browser.