Skip to content

Commit

Permalink
Added max CMake version 3.16.
Browse files Browse the repository at this point in the history
This should resolve CMake warnings.
  • Loading branch information
Lastique committed Dec 15, 2024
1 parent 0848f53 commit 59433a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# NOTE: CMake support for Boost.Filesystem is currently experimental at best
# and the interface is likely to change in the future

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.5...3.16)
project(BoostFilesystem VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

include(CheckCXXSourceCompiles)
Expand Down
2 changes: 1 addition & 1 deletion test/test_cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# NOTE: This does NOT run the unit tests for Boost.Filesystem.
# It only tests, if the CMakeLists.txt file in it's root works as expected

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.5...3.16)

project(BoostFilesystemCMakeSelfTest)

Expand Down

0 comments on commit 59433a9

Please sign in to comment.