mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-07 13:50:33 +00:00
cmake: opus is now optional + libsndfile only when using openal
This commit is contained in:
parent
d9f6a05b7e
commit
b375e20c75
3 changed files with 32 additions and 22 deletions
|
@ -12,6 +12,7 @@ endif()
|
|||
set(RE3_AUDIO "OAL" CACHE STRING "Audio")
|
||||
|
||||
option(RE3_WITH_OPUS "Build re3 with opus support" ON)
|
||||
option(RE3_WITH_LIBSNDFILE "Build re3 with libsndfile (instead of internal decoder)" OFF)
|
||||
|
||||
set_property(CACHE RE3_AUDIO PROPERTY STRINGS ${RE3_AUDIOS})
|
||||
message(STATUS "RE3_AUDIO = ${RE3_AUDIO} (choices=${RE3_AUDIOS})")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue