From 8d67c9bb339cea758016d71e8ff9eb464a8d2d63 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 3 Nov 2009 15:22:14 +0000 Subject: [PATCH] Disabled the build of plugins that aren't supported under GLES. --- examples/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index a984d7f2e..bbb618c7d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -59,7 +59,6 @@ IF(DYNAMIC_OPENSCENEGRAPH) ADD_SUBDIRECTORY(osglogo) ADD_SUBDIRECTORY(osgmanipulator) ADD_SUBDIRECTORY(osgmemorytest) - ADD_SUBDIRECTORY(osgmotionblur) ADD_SUBDIRECTORY(osgmovie) ADD_SUBDIRECTORY(osgmultiplerendertargets) ADD_SUBDIRECTORY(osgmultitexture) @@ -81,7 +80,6 @@ IF(DYNAMIC_OPENSCENEGRAPH) ADD_SUBDIRECTORY(osgreflect) ADD_SUBDIRECTORY(osgrobot) ADD_SUBDIRECTORY(osgscalarbar) - ADD_SUBDIRECTORY(osgscreencapture) ADD_SUBDIRECTORY(osgscribe) ADD_SUBDIRECTORY(osgsequence) ADD_SUBDIRECTORY(osgshaders) @@ -140,6 +138,11 @@ IF(DYNAMIC_OPENSCENEGRAPH) ADD_SUBDIRECTORY(osgwidgettable) ADD_SUBDIRECTORY(osgwidgetwindow) +IF(NOT OSG_GLES2_AVAILABLE AND NOT OSG_GLES2_AVAILABLE) + ADD_SUBDIRECTORY(osgscreencapture) + ADD_SUBDIRECTORY(osgmotionblur) +ENDIF() + IF(OSG_GLU_AVAILABLE) ADD_SUBDIRECTORY(osgphotoalbum) ADD_SUBDIRECTORY(osgtessellate)