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
5 cmake_minimum_required(VERSION 3.5...3.16)
6 project(boost_throw_exception VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
8 add_library(boost_throw_exception INTERFACE)
9 add_library(Boost::throw_exception ALIAS boost_throw_exception)
11 target_include_directories(boost_throw_exception INTERFACE include)
13 target_link_libraries(boost_throw_exception
19 if(BOOST_SUPERPROJECT_VERSION)
22 boost_install(TARGETS boost_throw_exception HEADER_DIRECTORY include/)
28 add_subdirectory(test)