Experimental support for SDL_mixer

Now working. We need support for SDL 3.4.0 but current wayland
dependency is not fulfilled.
This commit is contained in:
Colin Sames
2026-04-03 19:23:53 +02:00
parent 3a281cb676
commit ac9d2f8648
7 changed files with 194 additions and 7 deletions

View File

@@ -15,11 +15,12 @@ endif()
message(STATUS "Build config: PLATFORM=${PLATFORM}, SDL_LINK_TYPE=${SDL_LINK_TYPE}, BUILD_TYPE=${CMAKE_BUILD_TYPE}")
# --- Resolve SDL ---
# --- Resolve libraries ---
include(cmake/SDLSetup.cmake)
#include(cmake/SDLMixerSetup.cmake)
# --- Apply Linux dynamic RPATH globally so all targets can find libSDL3.so.0
# at runtime. SDL_LINUX_RPATH is set by SDLSetup.cmake only on Linux + dynamic.
# --- Apply Linux dynamic RPATH globally so all targets can find shared libs
# at runtime. SDL_LINUX_RPATH is appended to by each Setup module.
if(DEFINED SDL_LINUX_RPATH)
message(STATUS "Setting CMAKE_BUILD_RPATH to: ${SDL_LINUX_RPATH}")
set(CMAKE_BUILD_RPATH "${SDL_LINUX_RPATH}")