aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)