summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gard.spreemann@epfl.ch>2018-06-26 15:59:14 +0200
committerGard Spreemann <gard.spreemann@epfl.ch>2018-06-26 15:59:14 +0200
commitf8b9be92615662a1f9559608930559138f9c1fd8 (patch)
tree55a73ec62345984b30a711b1446dd8f0b84ab355
parent5f84f6152237260aeb32317c3fdc6cac4603d5d7 (diff)
Find and use boost.
-rw-r--r--geom_matching/wasserstein/mpi/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/geom_matching/wasserstein/mpi/CMakeLists.txt b/geom_matching/wasserstein/mpi/CMakeLists.txt
index 10a77bf..c307a24 100644
--- a/geom_matching/wasserstein/mpi/CMakeLists.txt
+++ b/geom_matching/wasserstein/mpi/CMakeLists.txt
@@ -24,8 +24,8 @@ find_package(MPI REQUIRED)
include_directories(${MPI_INCLUDE_PATH})
link_directories(${MPI_LIBRARIES})
-#find_package(Boost REQUIRED) # Should set version and specific components.
-#include_directories(${Boost_INCLUDE_DIRS})
+find_package(Boost REQUIRED)
+include_directories(${Boost_INCLUDE_DIRS})
include_directories("../include")
@@ -33,4 +33,4 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MPI_COMPILE_FLAGS} -Wall -pedantic -We
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${MPI_LINK_FLAGS}")
add_executable(hera_mpi main.cpp)
-target_link_libraries(hera_mpi ${MPI_LIBRARIES})
+target_link_libraries(hera_mpi ${MPI_LIBRARIES} ${Boost_LIBRARIES})