]>
Commit | Line | Data |
---|---|---|
f67539c2 | 1 | # Copyright 2018, 2019 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_bind VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) |
92f5a8d4 TL |
8 | |
9 | add_library(boost_bind INTERFACE) | |
10 | add_library(Boost::bind ALIAS boost_bind) | |
11 | ||
12 | target_include_directories(boost_bind INTERFACE include) | |
13 | ||
14 | target_link_libraries(boost_bind | |
f67539c2 TL |
15 | INTERFACE |
16 | Boost::config | |
17 | Boost::core | |
92f5a8d4 | 18 | ) |
f67539c2 | 19 | |
f67539c2 TL |
20 | if(BUILD_TESTING) |
21 | ||
22 | add_subdirectory(test) | |
23 | ||
24 | endif() |