Hi, cmake can’t find “jansson” library:
[cmake] CMake Error at CMakeLists.txt:187 (find_package):
[cmake] Could not find a package configuration file provided by "jansson" with any
[cmake] of the following names:
[cmake]
[cmake] jansson.cps
[cmake] janssonConfig.cmake
[cmake] jansson-config.cmake
[cmake]
[cmake] Add the installation prefix of "jansson" to CMAKE_PREFIX_PATH or set
[cmake] "jansson_DIR" to a directory containing one of the above files. If
[cmake] "jansson" provides a separate development package or SDK, be sure it has
[cmake] been installed.
The dev package doesn’t have these files, indeed:
$ rpm -ql jansson-devel
/usr/include/jansson.h
/usr/include/jansson_config.h
/usr/lib64/libjansson.so
/usr/lib64/pkgconfig/jansson.pc
I’m doubt who is the culprit here, any help?