]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/outcome/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / outcome / CMakeLists.txt
1 # Generated by `boostdep --cmake outcome`
2 # Copyright 2020 Peter Dimov
3 # Distributed under the Boost Software License, Version 1.0.
4 # https://www.boost.org/LICENSE_1_0.txt
5
6 cmake_minimum_required(VERSION 3.5...3.16)
7
8 project(boost_outcome VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
9
10 add_library(boost_outcome INTERFACE)
11 add_library(Boost::outcome ALIAS boost_outcome)
12
13 target_include_directories(boost_outcome INTERFACE include)
14
15 target_link_libraries(boost_outcome
16 INTERFACE
17 Boost::config
18 Boost::exception
19 Boost::system
20 Boost::throw_exception
21 )
22
23 target_compile_features(boost_outcome
24 INTERFACE
25 cxx_std_14
26 )
27
28 if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
29
30 add_subdirectory(test)
31
32 endif()