mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 19:49:46 +00:00
cmake: opus is now optional + libsndfile only when using openal
This commit is contained in:
@ -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})")
|
||||
|
Reference in New Issue
Block a user