mirror of
https://github.com/boostorg/boost_install.git
synced 2026-07-21 13:13:30 +00:00
Make boost_mpi link to MPI::MPI_C (refs #17)
This commit is contained in:
@@ -725,6 +725,17 @@ rule generate-cmake-config- ( target : sources * : properties * )
|
||||
""
|
||||
: true ;
|
||||
}
|
||||
|
||||
if $(name) = boost_mpi
|
||||
{
|
||||
print.text
|
||||
|
||||
"include(CMakeFindDependencyMacro)"
|
||||
"find_dependency(MPI)"
|
||||
"set_property(TARGET $(ltarget) APPEND PROPERTY INTERFACE_LINK_LIBRARIES MPI::MPI_C)"
|
||||
""
|
||||
: true ;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user