Skip to content

Commit

Permalink
Fix of github workflows on windows
Browse files Browse the repository at this point in the history
There is a mismatch of OpenSSL versions being used for headers vs.
linked against
  • Loading branch information
metthal committed Feb 13, 2024
1 parent 21b1dda commit 8615013
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/Windows/install-deps.sh
Original file line number Diff line number Diff line change
@@ -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/"

0 comments on commit 8615013

Please sign in to comment.