rename definitions
This commit is contained in:
@ -35,7 +35,7 @@ if(ENABLE_MPI AND NOT MPI_FOUND)
|
||||
endif()
|
||||
include_directories(${MPI_INCLUDE_PATH})
|
||||
|
||||
add_definitions(-DENABLE_MPI)
|
||||
add_definitions(-DHAVE_MPI)
|
||||
else()
|
||||
message(FATAL_ERROR "-- You asked for MPI, but CMake could not find any MPI installation, check $PATH")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user