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

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Date: 2025-01-29T10:27:05Z

cmake/json: Use CONFIG mode

(cherry picked from commit 532744eebf1014939c4ccd9a6aa4e7d6fbb454ac)

---

Modified: src/modules/json/CMakeLists.txt

---

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

---

diff --git a/src/modules/json/CMakeLists.txt b/src/modules/json/CMakeLists.txt
index c4cbf81440c..72df4d390f5 100644
--- a/src/modules/json/CMakeLists.txt
+++ b/src/modules/json/CMakeLists.txt
@@ -2,7 +2,8 @@ file(GLOB MODULE_SOURCES "*.c")
 
 add_library(${module_name} SHARED ${MODULE_SOURCES})
 
-find_package(json-c QUIET)
+find_package(json-c CONFIG)
+
 if(NOT json-c_FOUND)
   message(STATUS "json-c not found. looking with pkg-config")
   find_package(PkgConfig REQUIRED)

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to