libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
zlib License
432 stars 147 forks source link

SDL2MIXER_OPUS_SHARED doesn't work. #567

Closed jinfeihan57 closed 1 year ago

jinfeihan57 commented 1 year ago

I can't chang SDL2MIXER_OPUS_SHARED manually. image

if : SDL2MIXER_OPUS ON then : SDL2MIXER_OPUS_SHARED ON

I want use SDL2MIXER_OPUS, But not dynamic load way. How should I do? Or if there's any information I missed?

madebr commented 1 year ago

Just configure with -DSDL2MIXER_OPUS_SHARED=OFF. You need to read the cmake_dependent_option command as:

cmake_dependent_option(<option-name> <doc-string> <default-value-overridable-by-user> <condition-for-user-value-to-be-used> <forced-value-when-condition-is-false>)