mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-22 02:20:06 +00:00
Bump tested CMake version to 3.25
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
886491625d
commit
115ca96e0e
@ -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)
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user