From 5a5434e6e86c17c481bc21247d826b6a48985c16 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 10 Jun 2021 01:14:07 +0300 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db7251b..7b1cbd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,12 +1,9 @@ # Copyright 2019 Mike Dev # Distributed under the Boost Software License, Version 1.0. # See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt -# -# NOTE: CMake support for Boost.Exception is currently experimental at best -# and the interface is likely to change in the future -cmake_minimum_required( VERSION 3.5 ) -project( BoostException LANGUAGES CXX ) +cmake_minimum_required( VERSION 3.5...3.20 ) +project( boost_exception VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX ) # We treat Boost.Exception as header only for now. # See https://github.com/boostorg/exception/pull/17 @@ -27,4 +24,3 @@ target_link_libraries( boost_exception Boost::tuple Boost::type_traits ) -