19 lines
620 B
CMake
19 lines
620 B
CMake
#this file is automatically generated
|
|
|
|
ADD_DEFINITIONS(-DUSE_QT4)
|
|
|
|
SET(TARGET_SRC osgqfont.cpp )
|
|
SET(TARGET_ADDED_LIBRARIES osgQt osgText)
|
|
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()
|
|
|
|
#### end var setup ###
|
|
SET ( EXAMPLE_NAME osgqfont )
|
|
SETUP_EXAMPLE(${EXAMPLE_NAME})
|
|
|
|
IF ( Qt5Widgets_FOUND )
|
|
qt5_use_modules( example_${EXAMPLE_NAME} Widgets OpenGL )
|
|
ENDIF( Qt5Widgets_FOUND )
|