Restore Zlib dependency

This commit is contained in:
Stanislav Ershov 2017-11-30 14:23:51 +03:00
parent bff7a05db5
commit 9e1a45295f
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -620,6 +620,7 @@ target_link_libraries(Telegram
tgvoip
${OPENAL_LIBRARY}
${FFMPEG_LIBRARIES}
${ZLIB_LIBRARIES}
${SWRESAMPLE_LIBRARIES}
${SWSCALE_LIBRARIES}
${OPENSSL_LIBRARIES}