summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-04-19 02:43:12 +0200
committerGitHub <noreply@github.com>2020-04-19 02:43:12 +0200
commit4d7d3651f3ccffa52394a9b2be230e0a60ab2376 (patch)
treea33bfa280f385789ae79972dca7a563461069dba
parentMerge pull request #3716 from bunnei/fix-another-impl-fallthrough (diff)
parentcmake: Silence -Werror=implicit-fallthrough in SDL2 headers (diff)
downloadyuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.tar
yuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.tar.gz
yuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.tar.bz2
yuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.tar.lz
yuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.tar.xz
yuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.tar.zst
yuzu-4d7d3651f3ccffa52394a9b2be230e0a60ab2376.zip
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 467d769a2..c906c5a50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -164,7 +164,7 @@ if (ENABLE_SDL2)
set(SDL2_LIBRARIES "SDL2::SDL2")
endif()
- include_directories(${SDL2_INCLUDE_DIRS})
+ include_directories(SYSTEM ${SDL2_INCLUDE_DIRS})
add_library(SDL2 INTERFACE)
target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARIES}")
endif()