Module: kamailio
Branch: master
Commit: 53ddd2411960606821dddd8db8b8fe7abc5704ba
URL: 
https://github.com/kamailio/kamailio/commit/53ddd2411960606821dddd8db8b8fe7abc5704ba

Author: Xenofon Karamanos <[email protected]>
Committer: Xenofon Karamanos <[email protected]>
Date: 2026-01-21T16:55:57+02:00

ims_registrar_scscf: cmake: Add missing dependencies

---

Modified: src/modules/ims_registrar_scscf/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/53ddd2411960606821dddd8db8b8fe7abc5704ba.diff
Patch: 
https://github.com/kamailio/kamailio/commit/53ddd2411960606821dddd8db8b8fe7abc5704ba.patch

---

diff --git a/src/modules/ims_registrar_scscf/CMakeLists.txt 
b/src/modules/ims_registrar_scscf/CMakeLists.txt
index 41758eb30c6..193b7476568 100644
--- a/src/modules/ims_registrar_scscf/CMakeLists.txt
+++ b/src/modules/ims_registrar_scscf/CMakeLists.txt
@@ -3,5 +3,11 @@ file(GLOB MODULE_SOURCES "*.c")
 add_library(${module_name} SHARED ${MODULE_SOURCES})
 
 find_package(LibXml2 REQUIRED)
+find_package(Threads REQUIRED)
 
-target_link_libraries(${module_name} PRIVATE LibXml2::LibXml2)
+find_library(LIBRT rt)
+if(LIBRT)
+  target_link_libraries(${module_name} PRIVATE ${LIBRT})
+endif()
+
+target_link_libraries(${module_name} PRIVATE LibXml2::LibXml2 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!

Reply via email to