I think we have two options right now:
1. Either wait for upstream to fix this, if they do backports that is.
2. Just use pkg-config to find it for all OS, since it seems to be mostly
stable for all.
I also tried to use `find_package(json-c 0.15 CONFIG)` but it also seems
`json-c` does not support a proper version handling as this errors appears when
I try to isolate it even with 0.17 installed .
```
CMake Warning at src/modules/json/CMakeLists.txt:5 (find_package):
Could not find a configuration file for package "json-c" that is compatible
with requested version "0.15".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/json-c/json-c-config.cmake, version: unknown
/lib/x86_64-linux-gnu/cmake/json-c/json-c-config.cmake, version: unknown
-- json-c not found. looking with pkg-config
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'json-c'
-- Found json-c, version 0.17
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4085#issuecomment-2619058508
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4085/c2619058...@github.com>
_______________________________________________
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!