]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/assert/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / assert / CMakeLists.txt
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
4
5 # We support CMake 3.5, but prefer 3.16 policies and behavior
6 cmake_minimum_required(VERSION 3.5...3.16)
7
8 project(boost_assert VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
9
10 add_library(boost_assert INTERFACE)
11 add_library(Boost::assert ALIAS boost_assert)
12
13 target_include_directories(boost_assert INTERFACE include)
14
15 target_link_libraries(boost_assert
16 INTERFACE
17 Boost::config
18 )
19
20 # BUILD_TESTING is the standard CTest variable that enables testing
21
22 if(BUILD_TESTING)
23
24 add_subdirectory(test)
25
26 endif()