Remove SDL mixer

Didn't end up using it.
This commit is contained in:
PJB3005
2026-03-27 15:10:31 +01:00
parent c9d81c924c
commit f6f2f14a60
2 changed files with 1 additions and 32 deletions
+1 -4
View File
@@ -62,9 +62,6 @@ FetchContent_Declare(
FetchContent_MakeAvailable(cxxopts)
message(STATUS "Dusk: Fetching SDL3-mixer")
include(cmake/SDL-mixer.cmake)
include(files.cmake)
# TODO: version handling for res includes
@@ -103,7 +100,7 @@ target_include_directories(game_debug PUBLIC
extern
${CMAKE_SOURCE_DIR}/build/${DUSK_TP_VERSION}/include
build/${DUSK_TP_VERSION}/include)
target_link_libraries(game_debug PUBLIC aurora::core aurora::gx aurora::gd aurora::si aurora::vi aurora::pad aurora::mtx aurora::os aurora::dvd aurora::card SDL3_mixer::SDL3_mixer)
target_link_libraries(game_debug PUBLIC aurora::core aurora::gx aurora::gd aurora::si aurora::vi aurora::pad aurora::mtx aurora::os aurora::dvd aurora::card)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_library(game SHARED ${DOLZEL_FILES} ${Z2AUDIOLIB_FILES} ${SSYSTEM_FILES} ${JSYSTEM_FILES} ${REL_FILES} ${DUSK_FILES} ${DOLPHIN_FILES}
-28
View File
@@ -1,28 +0,0 @@
set(SDLMIXER_VENDORED ON)
set(SDLMIXER_STRICT ON)
set(BUILD_SHARED_LIBS OFF)
set(SDLMIXER_AIFF OFF)
set(SDLMIXER_WAVE OFF)
set(SDLMIXER_VOC OFF)
set(SDLMIXER_AU OFF)
set(SDLMIXER_FLAC OFF)
set(SDLMIXER_GME OFF)
set(SDLMIXER_MOD OFF)
set(SDLMIXER_MP3 OFF)
set(SDLMIXER_MIDI OFF)
set(SDLMIXER_OPUS OFF)
set(SDLMIXER_WAVPACK OFF)
set(SDLMIXER_VORBIS_STB OFF)
set(SDLMIXER_VORBIS_VORBISFILE OFF)
FetchContent_Declare(SDL-mixer
URL https://github.com/libsdl-org/SDL_mixer/archive/refs/tags/release-3.2.0.tar.gz
URL_HASH SHA256=1077fef4a6e9513027da0a08e6f1b8645f8c88c8bef001c17befeb52b129b5dd
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
FetchContent_MakeAvailable(SDL-mixer)
if (NOT TARGET SDL3_mixer::SDL3_mixer)
message(FATAL_ERROR "Failed to make SDL-mixer available")
endif ()