diff options
| author | Ahmad Fatoum <ahmad@a3f.at> | 2019-05-04 22:48:25 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <ahmad@a3f.at> | 2019-05-04 23:04:52 +0200 |
| commit | ae2e48c77fa7e340ff6faea9366f61186b50622d (patch) | |
| tree | 770f45157a27c7d1b77a38c0a8bf25371646c49e /src | |
| parent | 7d57a64337df4c88a81e854e35d4c29e7c5e7b24 (diff) | |
| download | raylib-ae2e48c77fa7e340ff6faea9366f61186b50622d.tar.gz raylib-ae2e48c77fa7e340ff6faea9366f61186b50622d.zip | |
CMake: don't use system GLFW headers if using built-in GLFW
This fixes the current CI failure.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7b69e0f9..8ccdc932 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,6 +37,7 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT add_subdirectory(external/glfw) list(APPEND raylib_sources $<TARGET_OBJECTS:glfw_objlib>) + include_directories(BEFORE SYSTEM external/glfw/include) else() MESSAGE(STATUS "Using external GLFW") set(GLFW_PKG_DEPS glfw3) |
