From d928063c57fd6abc8a6b9dc89c0b4cf7d7efc712 Mon Sep 17 00:00:00 2001 From: Vissarion Fisikopoulos Date: Wed, 15 Mar 2023 14:47:25 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49fc4b600..168c023f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,9 @@ # Generated by `boostdep --cmake geometry` -# Copyright 2020 Peter Dimov +# Copyright 2020, 2021 Peter Dimov # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt -cmake_minimum_required(VERSION 3.5...3.16) -set(CMAKE_CXX_STANDARD 14) +cmake_minimum_required(VERSION 3.8...3.20) project(boost_geometry VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) @@ -16,6 +15,7 @@ target_include_directories(boost_geometry INTERFACE include) target_link_libraries(boost_geometry INTERFACE Boost::algorithm + Boost::any Boost::array Boost::assert Boost::concept_check @@ -34,6 +34,7 @@ target_link_libraries(boost_geometry Boost::multiprecision Boost::numeric_conversion Boost::polygon + Boost::predef Boost::qvm Boost::range Boost::rational @@ -47,8 +48,11 @@ target_link_libraries(boost_geometry Boost::type_traits Boost::utility Boost::variant + Boost::variant2 ) +target_compile_features(boost_geometry INTERFACE cxx_std_14) + if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt") add_subdirectory(test)