Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
mpi_found vs found_mpi (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush authored Jan 27, 2022
1 parent 118c603 commit 76c9a1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/cmake/SetupBLT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ include(${BLT_SOURCE_DIR}/SetupBLT.cmake)
if(ENABLE_MPI)
# on some platforms (mostly cray systems) folks skip mpi
# detection in BLT by setting ENABLE_FIND_MPI = OFF
# in these cases, we need to set FOUND_MPI = TRUE,
# since the rest of our cmake logic to include MPI uses FOUND_MPI
# in these cases, we need to set MPI_FOUND = TRUE,
# since the rest of our cmake logic to include MPI uses MPI_FOUND
if(NOT ENABLE_FIND_MPI)
set(FOUND_MPI ON CACHE BOOL "")
set(MPI_FOUND ON CACHE BOOL "")
endif()
endif()

Expand Down

0 comments on commit 76c9a1c

Please sign in to comment.