From 59433a99843c9c4e6936ba7647cfa2cee93d0c6a Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 15 Dec 2024 19:23:28 +0300 Subject: [PATCH] Added max CMake version 3.16. This should resolve CMake warnings. --- CMakeLists.txt | 2 +- test/test_cmake/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 440af8be5..1e7a6199a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/test/test_cmake/CMakeLists.txt b/test/test_cmake/CMakeLists.txt index 71e88c7bb..5235720aa 100644 --- a/test/test_cmake/CMakeLists.txt +++ b/test/test_cmake/CMakeLists.txt @@ -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)