]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/throw_exception/CMakeLists.txt
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / throw_exception / CMakeLists.txt
CommitLineData
f67539c2 1# Copyright 2019 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
TL
5cmake_minimum_required(VERSION 3.5...3.16)
6project(boost_throw_exception VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
92f5a8d4
TL
7
8add_library(boost_throw_exception INTERFACE)
9add_library(Boost::throw_exception ALIAS boost_throw_exception)
10
11target_include_directories(boost_throw_exception INTERFACE include)
12
13target_link_libraries(boost_throw_exception
f67539c2
TL
14 INTERFACE
15 Boost::assert
16 Boost::config
92f5a8d4 17)
f67539c2
TL
18
19if(BOOST_SUPERPROJECT_VERSION)
20
21 include(BoostInstall)
22 boost_install(TARGETS boost_throw_exception HEADER_DIRECTORY include/)
23
24endif()
25
26if(BUILD_TESTING)
27
28 add_subdirectory(test)
29
30endif()