Made the MPI flag global instead of just core
This commit is contained in:
@@ -6,7 +6,6 @@ target_link_libraries(astaroth_core astaroth_utils astaroth_kernels cudart)
|
||||
if (MPI_ENABLED)
|
||||
find_package(MPI)
|
||||
target_link_libraries(astaroth_core MPI::MPI_CXX)
|
||||
target_compile_definitions(astaroth_core PRIVATE -DAC_MPI_ENABLED=1)
|
||||
endif()
|
||||
|
||||
if (MULTIGPU_ENABLED)
|
||||
|
||||
Reference in New Issue
Block a user