Bump tested CMake version to 3.25

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov 2022-11-28 23:45:52 +05:00 committed by Victor Zverovich
parent 886491625d
commit 115ca96e0e
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18) cmake_minimum_required(VERSION 3.8...3.25)
# Fallback for using newer policies on CMake <3.12. # Fallback for using newer policies on CMake <3.12.
if(${CMAKE_VERSION} VERSION_LESS 3.12) if(${CMAKE_VERSION} VERSION_LESS 3.12)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18) cmake_minimum_required(VERSION 3.8...3.25)
project(fmt-test CXX) project(fmt-test CXX)

View File

@ -1,6 +1,6 @@
# Test if compile errors are produced where necessary. # Test if compile errors are produced where necessary.
cmake_minimum_required(VERSION 3.8...3.18) cmake_minimum_required(VERSION 3.8...3.25)
project(compile-error-test CXX) project(compile-error-test CXX)
set(fmt_headers " set(fmt_headers "
@ -64,7 +64,7 @@ function (run_tests)
") ")
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test/CMakeLists.txt" " file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test/CMakeLists.txt" "
cmake_minimum_required(VERSION 3.8...3.18) cmake_minimum_required(VERSION 3.8...3.25)
project(tests CXX) project(tests CXX)
add_subdirectory(${FMT_DIR} fmt) add_subdirectory(${FMT_DIR} fmt)
${cmake_targets} ${cmake_targets}

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18) cmake_minimum_required(VERSION 3.8...3.25)
project(fmt-test) project(fmt-test)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18) cmake_minimum_required(VERSION 3.8...3.25)
project(fmt-link CXX) project(fmt-link CXX)