From 12ca5156f89708f9af0059461d406833a15f9451 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 3 Nov 2009 16:49:13 +0000 Subject: [PATCH] Disabled osgteaport for GLES1, GLES2 and GL3 builds --- examples/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index bbb618c7d..83b809713 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -98,7 +98,6 @@ IF(DYNAMIC_OPENSCENEGRAPH) ADD_SUBDIRECTORY(osgspotlight) ADD_SUBDIRECTORY(osgstereoimage) ADD_SUBDIRECTORY(osgstereomatch) - ADD_SUBDIRECTORY(osgteapot) ADD_SUBDIRECTORY(osgterrain) ADD_SUBDIRECTORY(osgtext) ADD_SUBDIRECTORY(osgtext3D) @@ -138,9 +137,10 @@ IF(DYNAMIC_OPENSCENEGRAPH) ADD_SUBDIRECTORY(osgwidgettable) ADD_SUBDIRECTORY(osgwidgetwindow) -IF(NOT OSG_GLES2_AVAILABLE AND NOT OSG_GLES2_AVAILABLE) +IF(NOT OSG_GLES2_AVAILABLE AND NOT OSG_GLES2_AVAILABLE AND NOT OSG_GL3_AVAILABLE) ADD_SUBDIRECTORY(osgscreencapture) ADD_SUBDIRECTORY(osgmotionblur) + ADD_SUBDIRECTORY(osgteapot) ENDIF() IF(OSG_GLU_AVAILABLE)