2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-19 04:02:15 +00:00

Reflect changes from https://github.com/boostorg/mpi/pull/160 as suggested in #76. Closes #76.

This commit is contained in:
Peter Dimov
2024-10-29 18:01:16 +02:00
parent 17e920c84f
commit 7f5336b3bf

View File

@@ -383,6 +383,7 @@ function(boost_install_target)
elseif(dep STREQUAL "MPI::MPI_CXX")
# COMPONENTS requires 3.9, but the imported target also requires 3.9
string(APPEND CONFIG_FILE_CONTENTS "set(MPI_CXX_SKIP_MPICXX ON)\n")
string(APPEND CONFIG_FILE_CONTENTS "find_dependency(MPI COMPONENTS CXX)\n")
elseif(dep STREQUAL "Iconv::Iconv")