aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-04-16 23:39:16 +0200
committersfan5 <sfan5@live.de>2021-04-16 23:39:16 +0200
commit52c0384bd1c9f564f7a6deab93e560dc49ff8915 (patch)
tree04bc70e8fb784f81ce42091b4b1a7b40adc04158 /src
parenta106bfd456509b676ccba0ac9bef75c214819028 (diff)
downloadminetest-52c0384bd1c9f564f7a6deab93e560dc49ff8915.tar.gz
minetest-52c0384bd1c9f564f7a6deab93e560dc49ff8915.tar.bz2
minetest-52c0384bd1c9f564f7a6deab93e560dc49ff8915.zip
Fix ignored OpenGLES2 include path and cmake warning
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 26441063f..16b5bf991 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -513,6 +513,10 @@ include_directories(
${PROJECT_SOURCE_DIR}/script
)
+if(ENABLE_GLES)
+ include_directories(${OPENGLES2_INCLUDE_DIR} ${EGL_INCLUDE_DIR})
+endif()
+
if(USE_GETTEXT)
include_directories(${GETTEXT_INCLUDE_DIR})
endif()