mirror of https://github.com/procxx/kepka.git
Restore Zlib dependency
This commit is contained in:
parent
bff7a05db5
commit
9e1a45295f
|
@ -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`
|
# Install via `brew install openal-soft` and configure with `env OPENALDIR=/usr/local/opt/openal-soft`
|
||||||
find_package(OpenAL REQUIRED)
|
find_package(OpenAL REQUIRED)
|
||||||
find_package(FFmpeg REQUIRED)
|
find_package(FFmpeg REQUIRED)
|
||||||
|
find_package(Zlib REQUIRED)
|
||||||
#@todo Turn into find_package(Opus REQUIRED)
|
#@todo Turn into find_package(Opus REQUIRED)
|
||||||
find_library(OPUS_LIB opus)
|
find_library(OPUS_LIB opus)
|
||||||
find_path(OPUS_INCLUDE_DIR opus/opus.h)
|
find_path(OPUS_INCLUDE_DIR opus/opus.h)
|
||||||
|
|
|
@ -620,6 +620,7 @@ target_link_libraries(Telegram
|
||||||
tgvoip
|
tgvoip
|
||||||
${OPENAL_LIBRARY}
|
${OPENAL_LIBRARY}
|
||||||
${FFMPEG_LIBRARIES}
|
${FFMPEG_LIBRARIES}
|
||||||
|
${ZLIB_LIBRARIES}
|
||||||
${SWRESAMPLE_LIBRARIES}
|
${SWRESAMPLE_LIBRARIES}
|
||||||
${SWSCALE_LIBRARIES}
|
${SWSCALE_LIBRARIES}
|
||||||
${OPENSSL_LIBRARIES}
|
${OPENSSL_LIBRARIES}
|
||||||
|
|
Loading…
Reference in New Issue