aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJan Niklas Hasse <[email protected]>2018-03-24 16:43:47 +0100
committerJan Niklas Hasse <[email protected]>2018-03-24 16:45:13 +0100
commit3fc9d3a1bed16b9c601e14f9916896224668e103 (patch)
tree35786dc8c3bfd1fe969967edff46cc980be348d0 /CMakeLists.txt
parent3f071a90a4313749b348a7d98284c005e5d87537 (diff)
Also add SDL2's include path
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f41f4c3..df1dfe63 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1138,6 +1138,7 @@ IF(SDL2_FOUND)
SET(ALC_OBJS ${ALC_OBJS} Alc/backends/sdl2.c)
SET(BACKENDS "${BACKENDS} SDL2,")
SET(EXTRA_LIBS ${SDL2_LIBRARY} ${EXTRA_LIBS})
+ SET(INC_PATHS ${INC_PATHS} ${SDL2_INCLUDE_DIR})
ENDIF()
ENDIF()
IF(ALSOFT_REQUIRE_SDL2 AND NOT SDL2_FOUND)