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()
|
|
|
|
|
2010-03-05 20:43:03 +08:00
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${QT_QTWEBKIT_LIBRARY})
|
2010-01-26 23:37:26 +08:00
|
|
|
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR})
|
2009-09-17 21:40:53 +08:00
|
|
|
|
2010-03-04 20:15:35 +08:00
|
|
|
SET(TARGET_ADDED_LIBRARIES osgWidget osgQt)
|
2009-09-17 21:40:53 +08:00
|
|
|
|
|
|
|
#### end var setup ###
|
|
|
|
SETUP_EXAMPLE(osgQtBrowser)
|