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