Skip to content

Commit

Permalink
try and fix travis mpi issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonolige committed Mar 25, 2018
1 parent 5f5d152 commit 2017ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (MPI_FOUND)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MPI_COMPILE_FLAGS}")
#set(CMAKE_LINK_FLAGS "${CMAKE_LINK_FLAGS} ${MPI_LINK_FLAGS}")
target_link_libraries(mxx INTERFACE ${MPI_CXX_LIBRARIES})
target_include_directories(mxx INTERFACE ${MPI_CXX_INCLUDE_DIRS})
target_include_directories(mxx INTERFACE ${MPI_CXX_INCLUDE_PATH})
else (MPI_FOUND)
message(SEND_ERROR "This application cannot compile without MPI")
endif (MPI_FOUND)
Expand Down

0 comments on commit 2017ae9

Please sign in to comment.