Skip to content

Commit

Permalink
now building without mpi if it's not found
Browse files Browse the repository at this point in the history
  • Loading branch information
burlen committed May 24, 2012
1 parent f5cffc0 commit 3dd6560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MPICHConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ if (SQTK_WITHOUT_MPI)
else()
include(FindMPI)
if (NOT MPI_FOUND)
message(SEND_ERROR "MPI Is required.")
message(STATUS "Building without MPI.")
add_definitions(-DSQTK_WITHOUT_MPI)
else()
message(STATUS "Building with MPI.")
add_definitions("-DMPICH_IGNORE_CXX_SEEK")
Expand Down

0 comments on commit 3dd6560

Please sign in to comment.