From 52c0384bd1c9f564f7a6deab93e560dc49ff8915 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 16 Apr 2021 23:39:16 +0200 Subject: Fix ignored OpenGLES2 include path and cmake warning --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/CMakeLists.txt') 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() -- cgit v1.2.3