Show
Ignore:
Timestamp:
10/21/14 17:10:27 (3 hours ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgQtBrowser/CMakeLists.txt

    r12292 r13482  
    88ENDIF() 
    99 
    10 SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${QT_QTWEBKIT_LIBRARY}) 
    11 INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}) 
     10if ( QT4_FOUND ) 
     11    SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${QT_QTWEBKIT_LIBRARY}) 
     12    INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_QTOPENGL_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTWEBKIT_INCLUDE_DIR} ) 
     13endif( QT4_FOUND ) 
    1214 
    1315SET(TARGET_ADDED_LIBRARIES osgWidget osgQt) 
    1416 
    1517#### end var setup  ### 
    16 SETUP_EXAMPLE(osgQtBrowser) 
     18SET ( EXAMPLE_NAME osgQtBrowser ) 
     19SETUP_EXAMPLE(${EXAMPLE_NAME}) 
     20 
     21IF ( Qt5Widgets_FOUND ) 
     22    qt5_use_modules( example_${EXAMPLE_NAME} Widgets OpenGL WebKitWidgets ) 
     23ENDIF( Qt5Widgets_FOUND ) 
     24 
     25