-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could NOT find JSONCPP (missing: JSON_INCLUDE_DIR) #9119
Comments
vilhelmgray
added a commit
to vilhelmgray/minetest
that referenced
this issue
Nov 16, 2019
The upstream JsonCpp project has renamed the `json/features.h` file to `json/json_features.h`. This patch fixes the JsonCpp installation search by looking for `json/allocator.h` which has not been renamed on newer versions of JsonCpp. Fixes: minetest#9119
sfan5
pushed a commit
that referenced
this issue
Nov 17, 2019
The upstream JsonCpp project has renamed the `json/features.h` file to `json/json_features.h`. This patch fixes the JsonCpp installation search by looking for `json/allocator.h` which has not been renamed on newer versions of JsonCpp. Fixes: #9119
rubenwardy
pushed a commit
that referenced
this issue
Dec 31, 2019
The upstream JsonCpp project has renamed the `json/features.h` file to `json/json_features.h`. This patch fixes the JsonCpp installation search by looking for `json/allocator.h` which has not been renamed on newer versions of JsonCpp. Fixes: #9119
aldum
pushed a commit
to banyamesterseg/minetest
that referenced
this issue
Apr 16, 2020
The upstream JsonCpp project has renamed the `json/features.h` file to `json/json_features.h`. This patch fixes the JsonCpp installation search by looking for `json/allocator.h` which has not been renamed on newer versions of JsonCpp. Fixes: minetest#9119
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue discovered on Gentoo (https://bugs.gentoo.org/700220) but occurs on latest vanilla Minetest 5.1.0 release.
The upstream JSONCPP project has renamed the
json/features.h
file tojson/json_features.h
: open-source-parsers/jsoncpp#1024This causes newer versions of JSONCPP to not be found by the Minetest FindJson.cmake module. The following line should be changed to search for a different json header file:
minetest/cmake/Modules/FindJson.cmake
Line 11 in 49365b2
The text was updated successfully, but these errors were encountered: