use mpicxx without a fixed path
This commit is contained in:
parent
36f30db313
commit
cbaea85ec3
3 changed files with 4 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ FOREACH (test ${TEST_LIST})
|
|||
SET ("T_${test}_SOURCES" "${test}.cpp")
|
||||
ENDFOREACH (test)
|
||||
|
||||
SET(CMAKE_CXX_COMPILER "${MPI_DIR}/bin/mpicxx")
|
||||
SET(CMAKE_CXX_COMPILER "mpicxx")
|
||||
ADD_DEFINITIONS(-DWITH_MPI)
|
||||
|
||||
IF(ENABLE_CMAKE_TESTING)
|
||||
|
|
|
|||
Reference in a new issue