diff --git a/src/SFML/System/CMakeLists.txt b/src/SFML/System/CMakeLists.txt index b390ded8..d69f3e70 100644 --- a/src/SFML/System/CMakeLists.txt +++ b/src/SFML/System/CMakeLists.txt @@ -77,7 +77,7 @@ endif() if(SFML_OS_ANDROID) # glad sources - target_include_directories(sfml-system PRIVATE "${PROJECT_SOURCE_DIR}/extlibs/headers/glad/include") + target_include_directories(sfml-system SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/extlibs/headers/glad/include") endif() # setup dependencies