1 # Copyright 2018, 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 # We support CMake 3.5, but prefer 3.16 policies and behavior
6 cmake_minimum_required(VERSION 3.5...3.16)
8 project(boost_assert VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
10 add_library(boost_assert INTERFACE)
11 add_library(Boost::assert ALIAS boost_assert)
13 target_include_directories(boost_assert INTERFACE include)
15 target_link_libraries(boost_assert
20 # BUILD_TESTING is the standard CTest variable that enables testing
24 add_subdirectory(test)