]>
Commit | Line | Data |
---|---|---|
1e59de90 | 1 | # Copyright 2018-2021 Peter Dimov |
92f5a8d4 TL |
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 | ||
f67539c2 | 5 | cmake_minimum_required(VERSION 3.5...3.16) |
92f5a8d4 | 6 | |
f67539c2 | 7 | project(boost_system VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) |
92f5a8d4 TL |
8 | |
9 | add_library(boost_system INTERFACE) | |
10 | add_library(Boost::system ALIAS boost_system) | |
11 | ||
12 | target_include_directories(boost_system INTERFACE include) | |
13 | ||
14 | target_link_libraries(boost_system | |
f67539c2 | 15 | INTERFACE |
1e59de90 | 16 | Boost::assert |
f67539c2 | 17 | Boost::config |
1e59de90 TL |
18 | Boost::throw_exception |
19 | Boost::variant2 | |
f67539c2 | 20 | Boost::winapi |
92f5a8d4 | 21 | ) |
f67539c2 TL |
22 | |
23 | if(BUILD_TESTING) | |
24 | ||
25 | add_subdirectory(test) | |
26 | ||
27 | endif() |