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

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@gilawa.com>
Date: 2025-01-28T11:18:24Z

cmake/json: Use CONFIG mode

---

Modified: src/modules/json/CMakeLists.txt

---

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