]> git.proxmox.com Git - ceph.git/blob - 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
1 # Copyright 2019 Peter Dimov
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
5 cmake_minimum_required(VERSION 3.5...3.16)
6 project(boost_throw_exception VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
7
8 add_library(boost_throw_exception INTERFACE)
9 add_library(Boost::throw_exception ALIAS boost_throw_exception)
10
11 target_include_directories(boost_throw_exception INTERFACE include)
12
13 target_link_libraries(boost_throw_exception
14 INTERFACE
15 Boost::assert
16 Boost::config
17 )
18
19 if(BOOST_SUPERPROJECT_VERSION)
20
21 include(BoostInstall)
22 boost_install(TARGETS boost_throw_exception HEADER_DIRECTORY include/)
23
24 endif()
25
26 if(BUILD_TESTING)
27
28 add_subdirectory(test)
29
30 endif()