62 lines
1.4 KiB
CMake
62 lines
1.4 KiB
CMake
# Generated by `boostdep --cmake geometry`
|
|
# 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.8...3.20)
|
|
|
|
project(boost_geometry VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
|
|
|
add_library(boost_geometry INTERFACE)
|
|
add_library(Boost::geometry ALIAS boost_geometry)
|
|
|
|
target_include_directories(boost_geometry INTERFACE include)
|
|
|
|
target_link_libraries(boost_geometry
|
|
INTERFACE
|
|
Boost::algorithm
|
|
Boost::any
|
|
Boost::array
|
|
Boost::assert
|
|
Boost::concept_check
|
|
Boost::config
|
|
Boost::container
|
|
Boost::core
|
|
Boost::endian
|
|
Boost::function_types
|
|
Boost::fusion
|
|
Boost::integer
|
|
Boost::iterator
|
|
Boost::lexical_cast
|
|
Boost::math
|
|
Boost::move
|
|
Boost::mpl
|
|
Boost::multiprecision
|
|
Boost::numeric_conversion
|
|
Boost::polygon
|
|
Boost::predef
|
|
Boost::qvm
|
|
Boost::range
|
|
Boost::rational
|
|
Boost::serialization
|
|
Boost::smart_ptr
|
|
Boost::static_assert
|
|
Boost::thread
|
|
Boost::throw_exception
|
|
Boost::tokenizer
|
|
Boost::tuple
|
|
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)
|
|
|
|
endif()
|
|
|