Patch configure file to find the new json.hpp file location
Gbp-Pq: Name new-json-hpp.patch
AM_CONDITIONAL([HAVE_CPPREST], [test "x$have_cpprest" != "xno"])
AC_CHECK_HEADERS([json.hpp])
+AC_CHECK_HEADERS([nlohmann/json.hpp])
WX_CONFIG_CHECK([3.0.3], [WXFOUND=1], [WXFOUND=0], [$WXLIBS_USED], [--unicode])
#include "str_helpers.h"
#ifdef HAVE_JSON_HPP
-#include <json.hpp>
+ #include <json.hpp>
#else
-#include "../deps/json/src/json.hpp"
+ #ifdef HAVE_NLOHMANN_JSON_HPP
+ #include <nlohmann/json.hpp>
+ #else
+ #include "../deps/json/src/json.hpp"
+ #endif
#endif
using json = nlohmann::json;