diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d6e0b2e5..a6adf30cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -592,7 +592,7 @@ ELSE() SET(OSG_GLES1_FEATURES "false") ENDIF() -IF (OSG_GLES1_AVAILABLE) +IF (OSG_GLES2_AVAILABLE) SET(OSG_GLES2_FEATURES "true") ELSE() SET(OSG_GLES2_FEATURES "false")