1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-10 06:52:05 +01:00

Add: Support sound effects in Ogg Opus format.

This commit is contained in:
Peter Nelson
2024-03-05 14:59:17 +00:00
committed by Peter Nelson
parent 8b00661b22
commit 560ee2442d
10 changed files with 227 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ if(NOT OPTION_DEDICATED)
find_package(ICU OPTIONAL_COMPONENTS i18n uc)
endif()
endif()
find_package(OpusFile)
endif()
if(APPLE)
enable_language(OBJCXX)
@@ -332,6 +333,7 @@ if(NOT OPTION_DEDICATED)
link_package(Harfbuzz TARGET harfbuzz::harfbuzz)
link_package(ICU_i18n)
link_package(ICU_uc)
link_package(OpusFile TARGET OpusFile::opusfile)
if(SDL2_FOUND AND OPENGL_FOUND AND UNIX)
# SDL2 dynamically loads OpenGL if needed, so do not link to OpenGL when