use mpicxx without a fixed path

This commit is contained in:
Johann Dreo 2012-07-26 17:06:40 +02:00
commit cbaea85ec3
3 changed files with 4 additions and 3 deletions

View file

@ -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)