Use SDL2 Backend with OpenAL

This change implements openal to use the sdl2 backend.

The main change in this is in openal-soft cmakeLists.txt it was not using our custom finders to find sdl2 for us before and so it had to be changed to a list append instead of a set. This needs to be remembered for future updates to openal
This commit is contained in:
marauder2k7 2025-05-20 12:13:10 +01:00
parent 8756e35853
commit 87514151c4
3 changed files with 27 additions and 14 deletions

View file

@ -82,7 +82,7 @@ set(DEFAULT_TARGET_PROPS
# Prefer C11, but support C99 and earlier when possible.
C_STANDARD 11)
set(CMAKE_MODULE_PATH "${OpenAL_SOURCE_DIR}/cmake")
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(CheckFunctionExists)
include(CheckLibraryExists)