Skip to content

Commit

Permalink
Bump tested CMake version to 3.25
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
  • Loading branch information
phprus authored and vitaut committed Nov 30, 2022
1 parent 8864916 commit 115ca96
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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.
if(${CMAKE_VERSION} VERSION_LESS 3.12)
Expand Down
2 changes: 1 addition & 1 deletion test/add-subdirectory-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18)
cmake_minimum_required(VERSION 3.8...3.25)

project(fmt-test CXX)

Expand Down
4 changes: 2 additions & 2 deletions test/compile-error-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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)

set(fmt_headers "
Expand Down Expand Up @@ -64,7 +64,7 @@ function (run_tests)
")

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)
add_subdirectory(${FMT_DIR} fmt)
${cmake_targets}
Expand Down
2 changes: 1 addition & 1 deletion test/find-package-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18)
cmake_minimum_required(VERSION 3.8...3.25)

project(fmt-test)

Expand Down
2 changes: 1 addition & 1 deletion test/static-export-test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8...3.18)
cmake_minimum_required(VERSION 3.8...3.25)

project(fmt-link CXX)

Expand Down

0 comments on commit 115ca96

Please sign in to comment.