jsoncpp include paths differing between distributions
Currently, all source files using jsoncpp include it using the path jsoncpp/json/json.h
. This does not apply to all distributions, with some requiring the jsoncpp/
prefix to be removed to find the includes.
A possible solution would be to make use of pkg-config
to fetch the include path of jsoncpp and add that to the search paths using cmake while changing the source files to use only json/json.h
as include.