2011-01-28 18:59:50 +08:00
|
|
|
#this file is automatically generated
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DUSE_QT4)
|
|
|
|
|
|
|
|
SET(TARGET_SRC osgqfont.cpp )
|
|
|
|
SET(TARGET_ADDED_LIBRARIES osgQt osgText)
|
2013-06-10 22:34:25 +08:00
|
|
|
IF ( NOT Qt5Widgets_FOUND )
|
|
|
|
INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTOPENGL_INCLUDE_DIR} )
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} )
|
|
|
|
ENDIF()
|
2011-01-28 18:59:50 +08:00
|
|
|
|
|
|
|
#### end var setup ###
|
2013-06-10 22:34:25 +08:00
|
|
|
SET ( EXAMPLE_NAME osgqfont )
|
|
|
|
SETUP_EXAMPLE(${EXAMPLE_NAME})
|
|
|
|
|
|
|
|
IF ( Qt5Widgets_FOUND )
|
|
|
|
qt5_use_modules( example_${EXAMPLE_NAME} Widgets OpenGL )
|
|
|
|
ENDIF( Qt5Widgets_FOUND )
|