Module: kamailio
Branch: 6.0
Commit: 25dc203de73236e698db9bd304b0b1d712575610
URL: 
https://github.com/kamailio/kamailio/commit/25dc203de73236e698db9bd304b0b1d712575610

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-03-05T08:44:37+01:00

kazoo: cmake - link with libevent

(cherry picked from commit 6b51a80f70a524eaadd2d52fc13594006d41d1bb)
(cherry picked from commit 2bfbac1574692ff54e9647159ee9473ee95bc7d1)

---

Modified: src/modules/kazoo/CMakeLists.txt

---

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

---

diff --git a/src/modules/kazoo/CMakeLists.txt b/src/modules/kazoo/CMakeLists.txt
index d05ff75464c..53d4d6d7039 100644
--- a/src/modules/kazoo/CMakeLists.txt
+++ b/src/modules/kazoo/CMakeLists.txt
@@ -30,4 +30,9 @@ endif()
 pkg_check_modules(UUID REQUIRED IMPORTED_TARGET uuid)
 add_library(uuid::uuid ALIAS PkgConfig::UUID)
 
-target_link_libraries(${module_name} PRIVATE json-c::json-c rabbitmq::rabbitmq 
uuid::uuid)
+pkg_check_modules(EVENT REQUIRED IMPORTED_TARGET libevent)
+add_library(event::event ALIAS PkgConfig::EVENT)
+
+target_link_libraries(
+  ${module_name} PRIVATE json-c::json-c rabbitmq::rabbitmq event::event 
uuid::uuid
+)

_______________________________________________
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