Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/cmake/Modules/FindJSONC.cmake b/cmake/Modules/FindJSONC.cmake
- index f72e8ea..8e4f1fc 100644
- --- a/cmake/Modules/FindJSONC.cmake
- +++ b/cmake/Modules/FindJSONC.cmake
- @@ -6,8 +6,8 @@
- # JSONC_INCLUDE_DIR - The JSON-C include directory.
- # JSONC_LIBRARY - The JSON-C library to link against.
- -FIND_PATH(JSONC_INCLUDE_DIR json/json.h)
- -FIND_LIBRARY(JSONC_LIBRARY NAMES json)
- +FIND_PATH(JSONC_INCLUDE_DIR json-c/json.h)
- +FIND_LIBRARY(JSONC_LIBRARY NAMES json-c)
- IF (JSONC_INCLUDE_DIR AND JSONC_LIBRARY)
- SET(JSONC_FOUND TRUE)
- diff --git a/libgrive/src/protocol/Json.cc b/libgrive/src/protocol/Json.cc
- index 4c115d6..a7f0373 100644
- --- a/libgrive/src/protocol/Json.cc
- +++ b/libgrive/src/protocol/Json.cc
- @@ -29,8 +29,8 @@
- #pragma warning(push)
- #pragma warning(disable: 4005)
- #endif
- -#include <json/json_tokener.h>
- -#include <json/linkhash.h>
- +#include <json-c/json_tokener.h>
- +#include <json-c/linkhash.h>
- #ifdef _MSC_VER
- #pragma warning(pop)
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement