OpenSceneGraph/examples/osgQtBrowser/CMakeLists.txt

17 lines
488 B
CMake
Raw Normal View History

2009-09-17 21:40:53 +08:00
SET(TARGET_SRC
osgQtBrowser.cpp
)
2010-03-05 23:08:03 +08:00
IF(CMAKE_COMPILER_IS_GNUCXX)
# Remove -pedantic flag as it barfs on Qt headers
STRING(REGEX REPLACE "-pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
ENDIF()
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${QT_QTWEBKIT_LIBRARY})
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR})
2009-09-17 21:40:53 +08:00
SET(TARGET_ADDED_LIBRARIES osgWidget osgQt)
2009-09-17 21:40:53 +08:00
#### end var setup ###
SETUP_EXAMPLE(osgQtBrowser)