Standard grive cannot find json-c libraries.
Solution:
cmake/Modules/FindJSONC.cmake change lines:
FIND_PATH(JSONC_INCLUDE_DIR json-c/json.h)
FIND_LIBRARY(JSONC_LIBRARY NAMES json-c)
You also need to update the include statements in .cc files in code.