# Copyright (c) 2019-2022 The STE||AR-Group # # SPDX-License-Identifier: BSL-1.0 # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) if(NOT HPX_WITH_DISTRIBUTED_RUNTIME) return() endif() list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(lcos_distributed_headers hpx/lcos_distributed/channel.hpp hpx/lcos_distributed/server/channel.hpp ) # cmake-format: off set(lcos_distributed_compat_headers hpx/lcos/channel.hpp => hpx/channel.hpp hpx/lcos/server/channel.hpp => hpx/include/lcos.hpp ) # cmake-format: on set(lcos_distributed_sources) include(HPX_AddModule) add_hpx_module( full lcos_distributed GLOBAL_HEADER_GEN ON SOURCES ${lcos_distributed_sources} HEADERS ${lcos_distributed_headers} COMPAT_HEADERS ${lcos_distributed_compat_headers} DEPENDENCIES hpx_core MODULE_DEPENDENCIES hpx_actions hpx_async_distributed hpx_naming CMAKE_SUBDIRS examples tests )