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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-03-04T17:25:01+01:00

kazoo: cmake - link with libevent

---

Modified: src/modules/kazoo/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/6b51a80f70a524eaadd2d52fc13594006d41d1bb.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6b51a80f70a524eaadd2d52fc13594006d41d1bb.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