diff options
author | kcat <[email protected]> | 2018-03-24 09:25:13 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2018-03-24 09:25:13 -0700 |
commit | eccf679ca933704a675811003eb8d7606cc8de1e (patch) | |
tree | 35786dc8c3bfd1fe969967edff46cc980be348d0 | |
parent | 3f071a90a4313749b348a7d98284c005e5d87537 (diff) | |
parent | 3fc9d3a1bed16b9c601e14f9916896224668e103 (diff) |
Merge pull request #181 from jhasse/sdl2-include
Also add SDL2's include path
-rw-r--r-- | CMakeLists.txt | 1 |
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) |