diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ccc1806e..432c44df7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,7 +225,6 @@ if( ${TARGET_ARCHITECTURE} MATCHES "x86_64" ) endif() option (HAVE_VULKAN "Enable Vulkan support" ON) -option (HAVE_GLES2 "Enable GLES2 support" ON) # no, we're not using external asmjit for now, we made too many modifications to our's. # if the asmjit author uses our changes then we'll update this. @@ -248,10 +247,6 @@ if( MSVC ) set( ALL_C_FLAGS "${ALL_C_FLAGS} /DHAVE_VULKAN" ) endif() - if ( HAVE_GLES2 ) - set( ALL_C_FLAGS "${ALL_C_FLAGS} /DHAVE_GLES2" ) - endif() - # Use SSE 2 as minimum always as the true color drawers needs it for __vectorcall #set( ALL_C_FLAGS "${ALL_C_FLAGS} /arch:SSE2") # This is already the default @@ -281,10 +276,6 @@ else() set( ALL_C_FLAGS "${ALL_C_FLAGS} -DHAVE_VULKAN" ) endif() - if ( HAVE_GLES2 ) - set( ALL_C_FLAGS "${ALL_C_FLAGS} -DHAVE_GLES2" ) - endif() - if ( UNIX ) include(CheckSymbolExists) check_symbol_exists( "fts_set" "sys/types.h;sys/stat.h;fts.h" HAVE_FTS )