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

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

ims_qos: cmake: Add missing dependencies

---

Modified: src/modules/ims_qos/CMakeLists.txt

---

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

---

diff --git a/src/modules/ims_qos/CMakeLists.txt 
b/src/modules/ims_qos/CMakeLists.txt
index 9c8de963961..a9da9cb7eae 100644
--- a/src/modules/ims_qos/CMakeLists.txt
+++ b/src/modules/ims_qos/CMakeLists.txt
@@ -1,3 +1,11 @@
 file(GLOB MODULE_SOURCES "*.c")
 
 add_library(${module_name} SHARED ${MODULE_SOURCES})
+
+find_package(Threads REQUIRED)
+target_link_libraries(${module_name} PRIVATE Threads::Threads)
+
+find_library(LIBRT rt)
+if(LIBRT)
+  target_link_libraries(${module_name} PRIVATE ${LIBRT})
+endif()

_______________________________________________
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