@@ -156,14 +156,14 @@ cmake_dependent_option(SDLMIXER_OPUS_SHARED "Dynamically load libopus" "${SDLMIX
156
156
157
157
option (SDLMIXER_VORBIS_STB "Enable Ogg Vorbis audio via stb_vorbis" ON )
158
158
option (SDLMIXER_VORBIS_VORBISFILE "Enable Ogg Vorbis audio via libvorbisfile" ON )
159
- option (SDLMIXER_VORBIS_TREMOR "Enable Ogg Vorbis audio via libtremor " OFF )
159
+ option (SDLMIXER_VORBIS_TREMOR "Enable Ogg Vorbis audio via libvorbisidec ('tremor') " OFF )
160
160
161
161
if (SDLMIXER_VORBIS_VORBISFILE AND SDLMIXER_VORBIS_TREMOR )
162
162
message (FATAL_ERROR "Both SDLMIXER_VORBIS_VORBISFILE and SDLMIXER_VORBIS_TREMOR are both enabled, but only one can be used" )
163
163
endif ()
164
164
165
165
cmake_dependent_option (SDLMIXER_VORBIS_VORBISFILE_SHARED "Dynamically load vorbisfile library" "${SDLMIXER_DEPS_SHARED} " SDLMIXER_VORBIS_VORBISFILE OFF )
166
- cmake_dependent_option (SDLMIXER_VORBIS_TREMOR_SHARED "Dynamically load tremor library" "${SDLMIXER_DEPS_SHARED} " SDLMIXER_VORBIS_TREMOR OFF )
166
+ cmake_dependent_option (SDLMIXER_VORBIS_TREMOR_SHARED "Dynamically load vorbisidec (' tremor') library" "${SDLMIXER_DEPS_SHARED} " SDLMIXER_VORBIS_TREMOR OFF )
167
167
168
168
option (SDLMIXER_WAVPACK "Enable WavPack audio" ON )
169
169
cmake_dependent_option (SDLMIXER_WAVPACK_DSD "Enable WavPack DSD audio support" OFF SDLMIXER_WAVPACK OFF )
@@ -325,7 +325,7 @@ set(PC_REQUIRES)
325
325
set (SDLMIXER_BACKENDS )
326
326
327
327
if (SDLMIXER_OGG )
328
- # libogg is a requirement of libflac, libtremor and libvorbisfile, so only need this library when vendoring
328
+ # libogg is a requirement of libflac, libvorbisidec and libvorbisfile, so only need this library when vendoring
329
329
if (SDLMIXER_VENDORED )
330
330
message (STATUS "Using vendored libogg" )
331
331
set (BUILD_SHARED_LIBS ${SDLMIXER_OGG_SHARED} )
@@ -454,7 +454,7 @@ if(SDLMIXER_VORBIS_TREMOR)
454
454
find_package (tremor ${required} )
455
455
if (tremor_FOUND )
456
456
if (NOT SDLMIXER_VORBIS_TREMOR_SHARED )
457
- list (APPEND PC_REQUIRES tremor )
457
+ list (APPEND PC_REQUIRES vorbisidec )
458
458
endif ()
459
459
set (SDLMIXER_VORBIS_TREMOR_ENABLED TRUE )
460
460
else ()
0 commit comments