minor change to MPI detection logic (#294)
somehow the test whether we requested MPI support or not stopped
working, although no obvious code change can be located.
Make the if-statement more stringent by explicitely testing whether
USE_MPI_SUPPORT is "ON".
[ROCm/rocshmem commit: c0285ac0ce]
This commit is contained in:
@@ -168,7 +168,7 @@ if (NOT BUILD_TESTS_ONLY)
|
||||
set(BUILD_UNIT_TESTS OFF)
|
||||
endif()
|
||||
|
||||
if (USE_EXTERNAL_MPI)
|
||||
if (USE_EXTERNAL_MPI STREQUAL "ON")
|
||||
if(NOT HAVE_EXTERNAL_MPI)
|
||||
message(FATAL_ERROR "External MPI support requested but MPI support not found. Build Aborted")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user