diff --git a/.github/workflows/Windows/install-deps.sh b/.github/workflows/Windows/install-deps.sh index 4f7919a41..4ea110758 100644 --- a/.github/workflows/Windows/install-deps.sh +++ b/.github/workflows/Windows/install-deps.sh @@ -1,3 +1,11 @@ #!/usr/bin/bash +rm -rf "/c/Program Files/OpenSSL" + choco install --no-progress openssl 7zip + +# Chocolatey installs OpenSSL into subfolder MD which isn't found with +# FindOpenSSL.cmake in the version we have available. This moves the files +# where the finder expects them. Otherwise mismatch between OpenSSL versions +# can and will happen. +cp "/c/Program Files/lib/VC/x64/MD/*" "/c/Program Files/lib/VC/x64/"