link lib webrtc

This commit is contained in:
Alexander Zhirov 2023-03-20 18:25:55 +03:00
parent b89af2cf46
commit f34e08ea7a
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ pkg_check_modules(OPUS opus REQUIRED)
pkg_check_modules(OPENSSL openssl REQUIRED) pkg_check_modules(OPENSSL openssl REQUIRED)
pkg_check_modules(PJSIP libpjproject>=2.8 REQUIRED) pkg_check_modules(PJSIP libpjproject>=2.8 REQUIRED)
pkg_check_modules(FMT fmt REQUIRED) pkg_check_modules(FMT fmt REQUIRED)
pkg_check_modules(WEBRTC webrtc_audio_processing REQUIRED)
find_package(spdlog 1.9.2) find_package(spdlog 1.9.2)
add_library(libtgvoip STATIC add_library(libtgvoip STATIC
@ -681,4 +682,5 @@ endif ()
target_link_libraries(libtgvoip PRIVATE target_link_libraries(libtgvoip PRIVATE
${PJSIP_LIBRARIES} ${PJSIP_LIBRARIES}
${OPUS_LIBRARIES} ${OPUS_LIBRARIES}
${FMT_LIBRARIES}) ${FMT_LIBRARIES}
${WEBRTC})