Merge pull request #181 from jhasse/sdl2-include
Also add SDL2's include path
This commit is contained in:
commit
eccf679ca9
@ -1138,6 +1138,7 @@ IF(SDL2_FOUND)
|
|||||||
SET(ALC_OBJS ${ALC_OBJS} Alc/backends/sdl2.c)
|
SET(ALC_OBJS ${ALC_OBJS} Alc/backends/sdl2.c)
|
||||||
SET(BACKENDS "${BACKENDS} SDL2,")
|
SET(BACKENDS "${BACKENDS} SDL2,")
|
||||||
SET(EXTRA_LIBS ${SDL2_LIBRARY} ${EXTRA_LIBS})
|
SET(EXTRA_LIBS ${SDL2_LIBRARY} ${EXTRA_LIBS})
|
||||||
|
SET(INC_PATHS ${INC_PATHS} ${SDL2_INCLUDE_DIR})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(ALSOFT_REQUIRE_SDL2 AND NOT SDL2_FOUND)
|
IF(ALSOFT_REQUIRE_SDL2 AND NOT SDL2_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user