mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 20:47:53 +08:00
15 lines
462 B
Diff
15 lines
462 B
Diff
|
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
|
||
|
index 72c5b98..0d153c0 100644
|
||
|
--- a/src/tools/msvc/Solution.pm
|
||
|
+++ b/src/tools/msvc/Solution.pm
|
||
|
@@ -128,6 +128,9 @@ sub copyFile
|
||
|
sub GetOpenSSLVersion
|
||
|
{
|
||
|
my $self = shift;
|
||
|
+ if (($ENV{'VCPKG_OPENSSL_VERSION'} // '') =~ /(\d+)\.(\d+)\.(\d+)/m) {
|
||
|
+ return ($1, $2, $3);
|
||
|
+ }
|
||
|
|
||
|
# Attempt to get OpenSSL version and location. This assumes that
|
||
|
# openssl.exe is in the specified directory.
|