Commit e515af94 authored by Kim, Jungwon's avatar Kim, Jungwon
Browse files

Updated CMakeLists.txt

parent 844f0d9f
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -7,10 +7,14 @@ set(PAPYRUS_VERSION_MINOR 0)
set(PAPYRUS_VERSION_PATCH 0)

find_package(MPI REQUIRED)
if("${MPI_C_COMPILER}")
MESSAGE (STATUS "MPI_CXX_COMPILER ${MPI_CXX_COMPILER}")
MESSAGE (STATUS "MPI_C_COMPILER ${MPI_C_COMPILER}")
if ("${MPI_C_COMPILER}" STREQUAL "MPI_C_COMPILER-NOTFOUND")
else()
    set(CMAKE_C_COMPILER "${MPI_C_COMPILER}")
endif()
if("${MPI_CXX_COMPILER}")
if ("${MPI_CXX_COMPILER}" STREQUAL "MPI_CXX_COMPILER-NOTFOUND")
else()
    set(CMAKE_CXX_COMPILER "${MPI_CXX_COMPILER}")
endif()
set(CMAKE_CXX_STANDARD 11)