minetest/cmake/Modules
Rogier-5 4503b5097f Fixes for compiling with a newer (system) jsoncpp (#4429)
* Move included json code to jsoncpp subdirectory

This is needed to avoid having to specify the minetest src directory
as a system include when fixing the json includes.

* Fix json includes

They used "", so that the compiler searches the project's directory
first. The result was that when compiling with a system jsoncpp,
the project's own version of json.h was still included, instead of
the system version.

The includes now use <>, so a system location, or one specified with
'-Ilocation' is searched only.

* Fix for jsoncpp deprecated function warning

When compiling with a newer version of jsoncpp (and
ENABLE_SYSTEM_JSONCPP=true), jsoncpp emits a warning
about a deprecated function that minetest uses.
2016-08-10 12:10:00 +02:00
..
FindCURL.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindGMP.cmake Add LibGMP 2015-05-11 17:48:33 +02:00
FindGettextLib.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindIrrlicht.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindJson.cmake Fixes for compiling with a newer (system) jsoncpp (#4429) 2016-08-10 12:10:00 +02:00
FindLuaJIT.cmake Improve LuaJIT detection 2015-12-05 23:31:09 +01:00
FindNcursesw.cmake Really fix ncurses lookup on Arch Linux 2016-05-16 12:43:50 +02:00
FindOpenGLES2.cmake Fix typo in OpenGL ES 2 CMake file 2015-03-27 15:10:27 -04:00
FindSQLite3.cmake Remove included SQLite3 2015-01-08 16:34:42 -05:00
FindVorbis.cmake Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS 2012-03-25 22:07:34 +03:00
GenerateVersion.cmake Make Git version detection use VERSION_STRING instead of tags 2015-05-05 17:13:05 +02:00