]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/graph_parallel/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / graph_parallel / CMakeLists.txt
1 # Generated by `boostdep --cmake graph_parallel`
2 # Copyright 2020 Peter Dimov
3 # Distributed under the Boost Software License, Version 1.0.
4 # https://www.boost.org/LICENSE_1_0.txt
5
6 cmake_minimum_required(VERSION 3.5...3.16)
7
8 project(boost_graph_parallel VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
9
10 add_library(boost_graph_parallel
11 src/mpi_process_group.cpp
12 src/tag_allocator.cpp
13 )
14
15 add_library(Boost::graph_parallel ALIAS boost_graph_parallel)
16
17 target_include_directories(boost_graph_parallel PUBLIC include)
18
19 target_link_libraries(boost_graph_parallel
20 PUBLIC
21 Boost::assert
22 Boost::concept_check
23 Boost::config
24 Boost::container_hash
25 Boost::core
26 Boost::detail
27 Boost::dynamic_bitset
28 Boost::filesystem
29 Boost::foreach
30 Boost::function
31 Boost::graph
32 Boost::iterator
33 Boost::lexical_cast
34 Boost::mpi
35 Boost::mpl
36 Boost::optional
37 Boost::property_map
38 Boost::property_map_parallel
39 Boost::random
40 Boost::serialization
41 Boost::smart_ptr
42 Boost::static_assert
43 Boost::tuple
44 Boost::type_traits
45 Boost::variant
46 )
47
48 target_compile_definitions(boost_graph_parallel
49 PUBLIC BOOST_GRAPH_PARALLEL_NO_LIB
50 PRIVATE BOOST_GRAPH_PARALLEL_SOURCE
51 )
52
53 if(BUILD_SHARED_LIBS)
54 target_compile_definitions(boost_graph_parallel PUBLIC BOOST_GRAPH_PARALLEL_DYN_LINK)
55 else()
56 target_compile_definitions(boost_graph_parallel PUBLIC BOOST_GRAPH_PARALLEL_STATIC_LINK)
57 endif()
58
59 if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
60
61 add_subdirectory(test)
62
63 endif()
64