AudioCore: SDL2 Sink

This commit is contained in:
MerryMage 2016-04-27 10:57:29 +01:00
parent c1f0044a4b
commit 920d2cf41d
9 changed files with 182 additions and 3 deletions

View file

@ -152,12 +152,15 @@ if (ENABLE_SDL2)
download_bundled_external("sdl2/" ${SDL2_VER} SDL2_PREFIX)
endif()
set(SDL2_FOUND YES)
set(SDL2_INCLUDE_DIR "${SDL2_PREFIX}/include" CACHE PATH "Path to SDL2 headers")
set(SDL2_LIBRARY "${SDL2_PREFIX}/lib/x64/SDL2.lib" CACHE PATH "Path to SDL2 library")
set(SDL2_DLL_DIR "${SDL2_PREFIX}/lib/x64/" CACHE PATH "Path to SDL2.dll")
else()
find_package(SDL2 REQUIRED)
endif()
else()
set(SDL2_FOUND NO)
endif()
IF (APPLE)