Skip to content

Commit 59433a9

Browse files
committed
Added max CMake version 3.16.
This should resolve CMake warnings.
1 parent 0848f53 commit 59433a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# NOTE: CMake support for Boost.Filesystem is currently experimental at best
88
# and the interface is likely to change in the future
99

10-
cmake_minimum_required(VERSION 3.5)
10+
cmake_minimum_required(VERSION 3.5...3.16)
1111
project(BoostFilesystem VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
1212

1313
include(CheckCXXSourceCompiles)

test/test_cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# NOTE: This does NOT run the unit tests for Boost.Filesystem.
77
# It only tests, if the CMakeLists.txt file in it's root works as expected
88

9-
cmake_minimum_required(VERSION 3.5)
9+
cmake_minimum_required(VERSION 3.5...3.16)
1010

1111
project(BoostFilesystemCMakeSelfTest)
1212

0 commit comments

Comments
 (0)