1
0
mirror of https://github.com/nlohmann/json synced 2024-11-21 19:50:04 +00:00
nlohmannjson/tests
Craig Scott fac07e22c5
Accept NEW CMake policies up to CMake 3.14 (#4112)
Starting with CMake 3.27, deprecation warnings are issued
when asking for policy settings for CMake 3.4 or earlier.
The cmake_minimum_required() command accepts a version
range, which allows NEW policy settings up to the upper end
of that range to be used, but without raising the minimum
CMake version above the bottom of that range. This means
NEW policy settings will be used where available, without
requiring them. This change updates the project's
cmake_minimum_required() calls to use a version range to
extend the upper policy version to 3.14 where it wasn't already
at that version or higher. This prevents the deprecation warning
from CMake 3.27, and gives breathing space before a future
CMake release will start issuing similar deprecation warnings
again.
2023-09-25 09:31:26 +02:00
..
abi Add clang-tools to required tools for ci_static_analysis_clang (#3724) 2022-09-13 12:58:26 +02:00
benchmarks Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
cmake_add_subdirectory Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
cmake_fetch_content Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
cmake_fetch_content2 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
cmake_import Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
cmake_import_minver Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
cmake_target_include_directories Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
cuda_example 🔖 set version to 3.11.2 2022-08-12 15:04:06 +02:00
reports Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
src Fix CI (#4160) 2023-09-23 17:19:28 +02:00
thirdparty Fix CI (#4160) 2023-09-23 17:19:28 +02:00
CMakeLists.txt Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
fuzzing.md Document fuzzer usage (#3478) 2022-05-09 08:02:41 +02:00
Makefile Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00