json/test
Yann E. MORIN 70f8af1fc9 buildsystem: fix support for cmake older than 3.8
In e8b6b7ad, we relaxed the cmake version check down to 3.1, the first
version to expose target_compile_features().

However, an error while testing that change improperly concluded that
the change was OK. While target_compile_features() was indeed intriduced
in cmake 3.1, the actual feature we use it to test, cxx_std_11, was
really introduced only with cmake-3.8, which explained the actual
version that was requested before e8b6b7ad.

As Patrick noted, however, we can still convince cmake-3.1 to test
for C++11, by testing for an actual feature introduced in C++11, like
testing for cxx_range_for, which will instruct cmake to set the
appropriate C++11 options for the current compiler, which for gcc would
be adding -std=gnu++11.

Reported-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2019-01-13 11:33:12 +01:00
..
cmake_add_subdirectory buildsystem: relax requirement on cmake version 2018-12-31 18:52:04 +01:00
cmake_import buildsystem: relax requirement on cmake version 2018-12-31 18:52:04 +01:00
cmake_import_minver buildsystem: relax requirement on cmake version 2018-12-31 18:52:04 +01:00
data 🔨 added fix for arrays 2018-10-25 13:01:18 +02:00
reports added fuzzing results 2016-10-02 11:23:47 +02:00
src 🚨 fixed some warnings 2018-12-23 13:56:18 +01:00
thirdparty ⬆️ Catch 1.12.0 2018-08-18 12:02:12 +02:00
CMakeLists.txt buildsystem: fix support for cmake older than 3.8 2019-01-13 11:33:12 +01:00
Makefile 🚧 some changes to the BSON code 2018-10-24 15:43:37 +02:00