fix(build): ensure libopus is statically linked (#4819)

This commit is contained in:
Andy Grundman
2026-03-05 20:08:34 -05:00
committed by GitHub
parent a97ed29b4e
commit 49abb1606a
4 changed files with 34 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ include_directories(SYSTEM ${MINIUPNP_INCLUDE_DIRS})
include("${CMAKE_MODULE_PATH}/dependencies/ffmpeg.cmake")
# Opus
set(OPUS_USE_STATIC ON CACHE BOOL "Static linking for libopus")
include("${CMAKE_MODULE_PATH}/dependencies/FindOpus.cmake")
# platform specific dependencies