Module: kamailio Branch: 6.0 Commit: c35d28a7ba7a819758f0787a508168a99be4f8a5 URL: https://github.com/kamailio/kamailio/commit/c35d28a7ba7a819758f0787a508168a99be4f8a5
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-03-05T08:44:37+01:00 jsonrpcc: cmake - link with libevent (cherry picked from commit 69b4b70f38ec0458dd58f3c9fe1f522daad57279) (cherry picked from commit 78a3b9c22a6212ab619c3e20ee0513a3d43b90fe) --- Modified: src/modules/jsonrpcc/CMakeLists.txt --- Diff: https://github.com/kamailio/kamailio/commit/c35d28a7ba7a819758f0787a508168a99be4f8a5.diff Patch: https://github.com/kamailio/kamailio/commit/c35d28a7ba7a819758f0787a508168a99be4f8a5.patch --- diff --git a/src/modules/jsonrpcc/CMakeLists.txt b/src/modules/jsonrpcc/CMakeLists.txt index 314f48a5c02..15331a22dfe 100644 --- a/src/modules/jsonrpcc/CMakeLists.txt +++ b/src/modules/jsonrpcc/CMakeLists.txt @@ -16,4 +16,7 @@ pkg_check_modules(json-c REQUIRED IMPORTED_TARGET json-c) add_library(json-c::json-c ALIAS PkgConfig::json-c) # endif() -target_link_libraries(${module_name} PRIVATE json-c::json-c) +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 event::event) _______________________________________________ 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!
