
I was building QGIS source code on my own laptop when I got the following warning during the configuration of the CMake files
CMake Warning at CMakeLists.txt:316 (FIND_PACKAGE):
By not providing "FindQJSON.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "QJSON", but
CMake did not find one.
Could not find a package configuration file provided by "QJSON" with any of
the following names:
QJSONConfig.cmake
qjson-config.cmake
Add the installation prefix of "QJSON" to CMAKE_PREFIX_PATH or set
"QJSON_DIR" to a directory containing one of the above files. If "QJSON"
provides a separate development package or SDK, be sure it has been
installed.
This is an already opend issue at the QGIS Bug report #14982 and fixing it is really simple: just install the gjson library via
Then remove the CMakeChache
and build QGIS again…everything should work fine, without errors or warning!
GWH!

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Like this:
Like Loading...