Streamlined setting up MPI in the CMakeLists

This commit is contained in:
jpekkila
2020-08-19 13:44:35 +03:00
parent b035dfd6fb
commit f9e9a4a4ef
2 changed files with 2 additions and 12 deletions

View File

@@ -6,12 +6,5 @@ target_link_libraries(astaroth_core astaroth_kernels CUDA::cudart CUDA::cuda_dri
## Options
if (MPI_ENABLED)
#find_package(MPI REQUIRED)
#find_package(OpenMP)
#target_link_libraries(astaroth_core MPI::MPI_CXX OpenMP::OpenMP_CXX)
target_link_libraries(astaroth_core MPI::MPI_CXX)
endif()
if (MULTIGPU_ENABLED)
target_compile_definitions(astaroth_core PRIVATE -DAC_MULTIGPU_ENABLED=1)
endif ()