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 5cmake_minimum_required(VERSION 3.5...3.16) 6project(boost_throw_exception VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) 7 8add_library(boost_throw_exception INTERFACE) 9add_library(Boost::throw_exception ALIAS boost_throw_exception) 10 11target_include_directories(boost_throw_exception INTERFACE include) 12 13target_link_libraries(boost_throw_exception 14 INTERFACE 15 Boost::assert 16 Boost::config 17) 18 19if(BUILD_TESTING) 20 21 add_subdirectory(test) 22 23endif() 24