]> git.treefish.org Git - phys/heatbath.git/commitdiff
Added mpi to include path.
authorAlexander Schmidt <alex@treefish.org>
Tue, 26 Nov 2013 11:50:34 +0000 (12:50 +0100)
committerAlexander Schmidt <alex@treefish.org>
Tue, 26 Nov 2013 11:50:34 +0000 (12:50 +0100)
CMakeLists.txt

index 8a8d5372b2e7085025b1364a80db576f8970404e..44664171a41a46d92abdb39df2c4e11ff3af6988 100644 (file)
@@ -7,6 +7,11 @@ project(heatbath)
 # set(CMAKE_EXE_LINKER_FLAGS -pg)
 # set(CMAKE_SHARED_LINKER_FLAGS -pg)
 
+find_package(MPI REQUIRED)
+#set(CMAKE_CXX_COMPILE_FLAGS ${CMAKE_CXX_COMPILE_FLAGS} ${MPI_COMPILE_FLAGS})
+#set(CMAKE_CXX_LINK_FLAGS ${CMAKE_CXX_LINK_FLAGS} ${MPI_LINK_FLAGS})
+include_directories(${MPI_INCLUDE_PATH})
+
 SET(CMAKE_BUILD_TYPE Release)
 
 add_subdirectory(latlib)