I think we have two options right now:
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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.