diff --git a/CMakeLists.txt b/CMakeLists.txt index 20d88f0c1..b314a15fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,6 +24,7 @@ cmake_policy(SET CMP0071 OLD) # Install via `brew install openal-soft` and configure with `env OPENALDIR=/usr/local/opt/openal-soft` find_package(OpenAL REQUIRED) find_package(FFmpeg REQUIRED) +find_package(Zlib REQUIRED) #@todo Turn into find_package(Opus REQUIRED) find_library(OPUS_LIB opus) find_path(OPUS_INCLUDE_DIR opus/opus.h) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index c95043f87..a49e8f812 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -620,6 +620,7 @@ target_link_libraries(Telegram tgvoip ${OPENAL_LIBRARY} ${FFMPEG_LIBRARIES} + ${ZLIB_LIBRARIES} ${SWRESAMPLE_LIBRARIES} ${SWSCALE_LIBRARIES} ${OPENSSL_LIBRARIES}