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
6 cmake_minimum_required(VERSION 3.5...3.16)
8 project(boost_outcome VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
10 add_library(boost_outcome INTERFACE)
11 add_library(Boost::outcome ALIAS boost_outcome)
13 target_include_directories(boost_outcome INTERFACE include)
15 target_link_libraries(boost_outcome
20 Boost::throw_exception
23 target_compile_features(boost_outcome
28 if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
30 add_subdirectory(test)