]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/smart_ptr/CMakeLists.txt
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / smart_ptr / CMakeLists.txt
CommitLineData
f67539c2 1# Copyright 2018-2020 Peter Dimov
92f5a8d4
TL
2# Distributed under the Boost Software License, Version 1.0.
3# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
f67539c2 5cmake_minimum_required(VERSION 3.5...3.16)
92f5a8d4 6
f67539c2 7project(boost_smart_ptr VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
92f5a8d4
TL
8
9add_library(boost_smart_ptr INTERFACE)
10add_library(Boost::smart_ptr ALIAS boost_smart_ptr)
11
12target_include_directories(boost_smart_ptr INTERFACE include)
13
14target_link_libraries(boost_smart_ptr
f67539c2
TL
15 INTERFACE
16 Boost::assert
17 Boost::config
18 Boost::core
19 Boost::move
20 Boost::static_assert
21 Boost::throw_exception
22 Boost::type_traits
92f5a8d4 23)
f67539c2
TL
24
25if(BOOST_SUPERPROJECT_VERSION)
26
27 include(BoostInstall)
28 boost_install(TARGETS boost_smart_ptr HEADER_DIRECTORY include/)
29
30endif()
31
32if(BUILD_TESTING)
33
34 add_subdirectory(test)
35
36endif()