diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index acfa57b27..9c828762d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -45,7 +45,9 @@ ADD_OSG_EXAMPLE( osghangglide ) ADD_OSG_EXAMPLE( osghud ) ADD_OSG_EXAMPLE( osgimpostor osgSim ) ADD_OSG_EXAMPLE( osgintersection osgSim) -ADD_OSG_EXAMPLE( osgintrospection osgIntrospection ) +IF (BUILD_OSG_WRAPPERS) + ADD_OSG_EXAMPLE( osgintrospection osgIntrospection ) +ENDIF(BUILD_OSG_WRAPPERS) ADD_OSG_EXAMPLE( osgkeyboard osgFX ) ADD_OSG_EXAMPLE( osgkeyboardmouse osgFX ) ADD_OSG_EXAMPLE( osglauncher )