Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 9 additions & 3 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 All @@ -63,7 +69,7 @@ cmaize_find_or_build_dependency(
)
list(APPEND project_depends spdlog)

# PAPI bindings are enabled, leading to building PAPI with CUDA or rocm support
# PAPI bindings are enabled, leading to building PAPI with CUDA or ROCm support
if("${BUILD_PAPI_BINDINGS}")
include(build_papi)
endif ()
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx
sphinx<9
sphinx_rtd_theme
sphinx_tabs
Loading