mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 15:14:02 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
dfcbb75602
commit
d928063c57
@ -1,10 +1,9 @@
|
|||||||
# Generated by `boostdep --cmake geometry`
|
# Generated by `boostdep --cmake geometry`
|
||||||
# Copyright 2020 Peter Dimov
|
# Copyright 2020, 2021 Peter Dimov
|
||||||
# Distributed under the Boost Software License, Version 1.0.
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
# https://www.boost.org/LICENSE_1_0.txt
|
# https://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5...3.16)
|
cmake_minimum_required(VERSION 3.8...3.20)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
|
||||||
|
|
||||||
project(boost_geometry VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
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
|
target_link_libraries(boost_geometry
|
||||||
INTERFACE
|
INTERFACE
|
||||||
Boost::algorithm
|
Boost::algorithm
|
||||||
|
Boost::any
|
||||||
Boost::array
|
Boost::array
|
||||||
Boost::assert
|
Boost::assert
|
||||||
Boost::concept_check
|
Boost::concept_check
|
||||||
@ -34,6 +34,7 @@ target_link_libraries(boost_geometry
|
|||||||
Boost::multiprecision
|
Boost::multiprecision
|
||||||
Boost::numeric_conversion
|
Boost::numeric_conversion
|
||||||
Boost::polygon
|
Boost::polygon
|
||||||
|
Boost::predef
|
||||||
Boost::qvm
|
Boost::qvm
|
||||||
Boost::range
|
Boost::range
|
||||||
Boost::rational
|
Boost::rational
|
||||||
@ -47,8 +48,11 @@ target_link_libraries(boost_geometry
|
|||||||
Boost::type_traits
|
Boost::type_traits
|
||||||
Boost::utility
|
Boost::utility
|
||||||
Boost::variant
|
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")
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||||
|
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user