Merge pull request #181 from jhasse/sdl2-include

Also add SDL2's include path
This commit is contained in:
kcat 2018-03-24 09:25:13 -07:00 committed by GitHub
commit eccf679ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)