Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tested CMake version to 3.25 #3210

Merged
merged 1 commit into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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