diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e83b0fa6..d3b42111a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,7 @@ endif() if(USE_GLES2) add_definitions(-DUSE_GLES2) + add_definitions(-D_IRR_COMPILE_WITH_OGLES2_ -DNO_IRR_COMPILE_WITH_OPENGL_) endif() if(SERVER_ONLY)