Module: kamailio Branch: master Commit: d13fcc0300c6bed9f531d0db9a513e116ca4d89a URL: https://github.com/kamailio/kamailio/commit/d13fcc0300c6bed9f531d0db9a513e116ca4d89a
Author: Xenofon Karamanos <[email protected]> Committer: Xenofon Karamanos <[email protected]> Date: 2026-01-21T16:55:57+02:00 cdp: cmake: Add missing dependencies --- Modified: src/modules/cdp/CMakeLists.txt --- Diff: https://github.com/kamailio/kamailio/commit/d13fcc0300c6bed9f531d0db9a513e116ca4d89a.diff Patch: https://github.com/kamailio/kamailio/commit/d13fcc0300c6bed9f531d0db9a513e116ca4d89a.patch --- diff --git a/src/modules/cdp/CMakeLists.txt b/src/modules/cdp/CMakeLists.txt index 7d48b3af4d4..e8297a8df80 100644 --- a/src/modules/cdp/CMakeLists.txt +++ b/src/modules/cdp/CMakeLists.txt @@ -4,5 +4,11 @@ add_library(${module_name} SHARED ${MODULE_SOURCES}) find_package(LibXml2 REQUIRED) find_package(OpenSSL REQUIRED) +find_package(Threads REQUIRED) -target_link_libraries(${module_name} PRIVATE LibXml2::LibXml2 OpenSSL::SSL) +find_library(LIBRT rt) +if(LIBRT) + target_link_libraries(${module_name} PRIVATE ${LIBRT}) +endif() + +target_link_libraries(${module_name} PRIVATE LibXml2::LibXml2 OpenSSL::SSL Threads::Threads) _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
