link lib fmt

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

View File

@ -4,6 +4,7 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(OPUS opus REQUIRED) 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)
find_package(spdlog 1.9.2) find_package(spdlog 1.9.2)
add_library(libtgvoip STATIC add_library(libtgvoip STATIC
@ -679,4 +680,5 @@ endif ()
target_link_libraries(libtgvoip PRIVATE target_link_libraries(libtgvoip PRIVATE
${PJSIP_LIBRARIES} ${PJSIP_LIBRARIES}
${OPUS_LIBRARIES}) ${OPUS_LIBRARIES}
${FMT_LIBRARIES})