mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 20:27:48 +08:00
17 lines
646 B
Diff
17 lines
646 B
Diff
|
diff --git a/include/BoostInstall.cmake b/include/BoostInstall.cmake
|
||
|
index 49c0086fea..d5403a19e7 100644
|
||
|
--- a/include/BoostInstall.cmake
|
||
|
+++ b/include/BoostInstall.cmake
|
||
|
@@ -332,9 +332,9 @@ function(boost_install_target)
|
||
|
|
||
|
string(APPEND CONFIG_FILE_CONTENTS "find_dependency(LibLZMA)\n")
|
||
|
|
||
|
- elseif(dep STREQUAL "zstd::libzstd_shared" OR dep STREQUAL "zstd::libzstd_static")
|
||
|
+ elseif(dep MATCHES "zstd::libzstd_(shared|static)")
|
||
|
|
||
|
- string(APPEND CONFIG_FILE_CONTENTS "find_dependency(zstd)\n")
|
||
|
+ string(APPEND CONFIG_FILE_CONTENTS "find_dependency(zstd CONFIG)\n")
|
||
|
|
||
|
elseif(dep STREQUAL "MPI::MPI_C")
|
||
|
|