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".
This commit is contained in:
Edgar Gabriel authored and GitHub committed 2025-10-28 12:54:26 -05:00
1 orang tua 87d87cc881
melakukan c0285ac0ce
1 file changed
+1 -1
+1 -1
Melihat File
@@ -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()