diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c7c145..03f8da9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,8 @@ # Distributed under the Boost Software License, Version 1.0. # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt -# NOTE: CMake support for Boost.Array is currently experimental at best -# and the interface is likely to change in the future - -cmake_minimum_required(VERSION 3.5) -project(boost-array LANGUAGES CXX) +cmake_minimum_required(VERSION 3.5...3.20) +project(boost_array VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) add_library(boost_array INTERFACE) add_library(Boost::array ALIAS boost_array) @@ -21,4 +18,3 @@ target_link_libraries(boost_array Boost::static_assert Boost::throw_exception ) -