From 77161cc583c57b945d1d1af6055bd99137177bcb Mon Sep 17 00:00:00 2001 From: Deve Date: Tue, 17 Oct 2017 23:28:20 +0200 Subject: [PATCH] Avoid compilation errors for GLES --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)