set SDLMIXER_VENDORED to ON and vendor the required libraries into libs/SDL3_mixer/external
disable SDLMIXER_VORBIS_VORBISFILE add ogg v1.3.5-SDL add opus v1.4.x-SDL add opusfile v0.13-git-SDL
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
find_package(Ogg CONFIG)
|
||||
if(NOT TARGET Ogg::ogg)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(Ogg REQUIRED IMPORTED_TARGET ogg)
|
||||
set_target_properties(PkgConfig::Ogg PROPERTIES IMPORTED_GLOBAL TRUE)
|
||||
add_library(Ogg::ogg ALIAS PkgConfig::Ogg)
|
||||
endif()
|
||||
Reference in New Issue
Block a user