Skip to content

Commit a893225

Browse files
authored
Merge pull request #1122 from vissarion/fix/update_cmakefile
Update CMakeLists.txt
2 parents dfcbb75 + d928063 commit a893225

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Generated by `boostdep --cmake geometry`
2-
# Copyright 2020 Peter Dimov
2+
# Copyright 2020, 2021 Peter Dimov
33
# Distributed under the Boost Software License, Version 1.0.
44
# https://www.boost.org/LICENSE_1_0.txt
55

6-
cmake_minimum_required(VERSION 3.5...3.16)
7-
set(CMAKE_CXX_STANDARD 14)
6+
cmake_minimum_required(VERSION 3.8...3.20)
87

98
project(boost_geometry VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
109

@@ -16,6 +15,7 @@ target_include_directories(boost_geometry INTERFACE include)
1615
target_link_libraries(boost_geometry
1716
INTERFACE
1817
Boost::algorithm
18+
Boost::any
1919
Boost::array
2020
Boost::assert
2121
Boost::concept_check
@@ -34,6 +34,7 @@ target_link_libraries(boost_geometry
3434
Boost::multiprecision
3535
Boost::numeric_conversion
3636
Boost::polygon
37+
Boost::predef
3738
Boost::qvm
3839
Boost::range
3940
Boost::rational
@@ -47,8 +48,11 @@ target_link_libraries(boost_geometry
4748
Boost::type_traits
4849
Boost::utility
4950
Boost::variant
51+
Boost::variant2
5052
)
5153

54+
target_compile_features(boost_geometry INTERFACE cxx_std_14)
55+
5256
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
5357

5458
add_subdirectory(test)

0 commit comments

Comments
 (0)