libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDL2MIXER_OPUS_SHARED doesn't work.

jinfeihan57 opened this issue · comments

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?

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>)