Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ project(parallelzone VERSION "${parallelzone_version}" LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)

include(get_cmaize)
include(nwx_find_package)

# Work out the project paths
set(project_inc_dir "${CMAKE_CURRENT_LIST_DIR}/include/${PROJECT_NAME}")
Expand All @@ -49,9 +50,14 @@ if (BUILD_CUDA_BINDING OR BUILD_HIP_BINDINGS OR BUILD_SYCL_BINDING)
endif()

### Dependendencies ###
set(project_depends "MPI::MPI_CXX")

find_package(MPI REQUIRED)
nwx_find_package(
MPI
REQUIRED
TARGETS
mpi "MPI::MPI_CXX"
)
set(project_depends mpi)

cmaize_find_or_build_dependency(
spdlog
Expand Down
Loading