From 3fc9d3a1bed16b9c601e14f9916896224668e103 Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Sat, 24 Mar 2018 16:43:47 +0100 Subject: [PATCH] Also add SDL2's include path --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)