fix Ubuntu and Windows CI

This commit is contained in:
2026-05-28 22:29:37 +08:00
parent 9a4d635a7a
commit 4802b897fa
3 changed files with 4 additions and 22 deletions
+4
View File
@@ -210,6 +210,10 @@ list(APPEND OLIVE_LIBRARIES
FFMPEG::swresample
)
# Static FFmpeg (e.g. our Linux CI build) needs zlib for libavcodec.
find_package(ZLIB REQUIRED)
list(APPEND OLIVE_LIBRARIES ZLIB::ZLIB)
# Link PortAudio
find_package(PortAudio REQUIRED)
set(CMAKE_REQUIRED_INCLUDES ${PORTAUDIO_INCLUDE_DIRS})