Commit 73cc5089 (Using target_compile_features to specify C++ 11 standard) bumped the required cmake version, from 3.0 to 3.8, so as to get the definition of target_compile_features(). However, target_compile_features() was introduced in cmake-3.1: https://cmake.org/cmake/help/v3.1/command/target_compile_features.html And using cmake-3.1 is indeed sufficient to properly build. As such, relax the minimum required version down to cmake-3.1, so we can build on oldish, entreprise-grade distributions that only have cmake-3.1 (or at least, don't have up to cmake-3.8). Reported-by:Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr>
| Name |
Last commit
|
Last update |
|---|---|---|
| .github | Loading commit data... | |
| benchmarks | Loading commit data... | |
| cmake | Loading commit data... | |
| doc | Loading commit data... | |
| include/nlohmann | Loading commit data... | |
| single_include/nlohmann | Loading commit data... | |
| test | Loading commit data... | |
| third_party/amalgamate | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CODE_OF_CONDUCT.md | Loading commit data... | |
| ChangeLog.md | Loading commit data... | |
| LICENSE.MIT | Loading commit data... | |
| Makefile | Loading commit data... | |
| README.md | Loading commit data... | |
| appveyor.yml | Loading commit data... | |
| meson.build | Loading commit data... | |
| nlohmann_json.natvis | Loading commit data... |