summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-03-25 20:22:44 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-03-25 20:26:11 (GMT)
commitf284b003d7eee7345f3daa2893a21ff605ba09a7 (patch)
tree9f5bef0c7a876ec6992441d136368e9c272a69fd
parenta56a8f95364e6ec1fc50cb6a792325d914c16235 (diff)
downloadCMake-f284b003d7eee7345f3daa2893a21ff605ba09a7.zip
CMake-f284b003d7eee7345f3daa2893a21ff605ba09a7.tar.gz
CMake-f284b003d7eee7345f3daa2893a21ff605ba09a7.tar.bz2
FindBoost: Search next to MPI libs for graph_parallel (#14832)
In addition to the MPI libraries, graph_parallel lives in the MPI libdir as well.
-rw-r--r--Modules/FindBoost.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index a57e12c..d4026af 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -954,7 +954,8 @@ foreach(COMPONENT ${Boost_FIND_COMPONENTS})
# Compute component-specific hints.
set(_Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT "")
- if(${COMPONENT} STREQUAL "mpi" OR ${COMPONENT} STREQUAL "mpi_python")
+ if(${COMPONENT} STREQUAL "mpi" OR ${COMPONENT} STREQUAL "mpi_python" OR
+ ${COMPONENT} STREQUAL "graph_parallel")
foreach(lib ${MPI_CXX_LIBRARIES} ${MPI_C_LIBRARIES})
if(IS_ABSOLUTE "${lib}")
get_filename_component(libdir "${lib}" PATH)