From e5a9364577ba3f2381ad2b3deb29fe108eab8c2e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 12 Mar 2007 21:13:15 +0000 Subject: [PATCH] Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example --- examples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 )