mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 02:54:00 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
dfcbb75602
commit
d928063c57
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user