2023-09-28 21:35:51 +03:00
|
|
|
# Generated by `boostdep --cmake tuple`
|
|
|
|
# Copyright 2020, 2021 Peter Dimov
|
2018-09-18 13:19:19 +02:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
2023-09-28 21:35:51 +03:00
|
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
2018-09-18 13:19:19 +02:00
|
|
|
|
2021-06-10 00:49:34 +03:00
|
|
|
cmake_minimum_required(VERSION 3.5...3.20)
|
2023-09-28 21:35:51 +03:00
|
|
|
|
2021-06-10 00:49:34 +03:00
|
|
|
project(boost_tuple VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
2018-09-18 13:19:19 +02:00
|
|
|
|
|
|
|
add_library(boost_tuple INTERFACE)
|
|
|
|
add_library(Boost::tuple ALIAS boost_tuple)
|
|
|
|
|
|
|
|
target_include_directories(boost_tuple INTERFACE include)
|
|
|
|
|
|
|
|
target_link_libraries(boost_tuple
|
2023-09-28 21:35:51 +03:00
|
|
|
INTERFACE
|
|
|
|
Boost::config
|
|
|
|
Boost::core
|
|
|
|
Boost::static_assert
|
|
|
|
Boost::type_traits
|
2018-09-18 13:19:19 +02:00
|
|
|
)
|
2023-09-28 21:35:51 +03:00
|
|
|
|
|
|
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
|
|
|
|
|
|
|
add_subdirectory(test)
|
|
|
|
|
|
|
|
endif()
|