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
6 cmake_minimum_required(VERSION 3.5...3.16)
8 project(boost_graph_parallel VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
10 add_library(boost_graph_parallel
11 src/mpi_process_group.cpp
15 add_library(Boost::graph_parallel ALIAS boost_graph_parallel)
17 target_include_directories(boost_graph_parallel PUBLIC include)
19 target_link_libraries(boost_graph_parallel
38 Boost::property_map_parallel
48 target_compile_definitions(boost_graph_parallel
49 PUBLIC BOOST_GRAPH_PARALLEL_NO_LIB
50 PRIVATE BOOST_GRAPH_PARALLEL_SOURCE
54 target_compile_definitions(boost_graph_parallel PUBLIC BOOST_GRAPH_PARALLEL_DYN_LINK)
56 target_compile_definitions(boost_graph_parallel PUBLIC BOOST_GRAPH_PARALLEL_STATIC_LINK)
59 if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
61 add_subdirectory(test)