Skip to content

Commit

Permalink
Copy OpenSSL libraries to the output (#215)
Browse files Browse the repository at this point in the history
[skip travis]
  • Loading branch information
ForNeVeR authored and crackedmind committed Nov 11, 2018
1 parent 4fd2f16 commit 9d4a859
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .appveyor/after_build.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
param (
$VcpkgPath = 'c:\tools\vcpkg\',
$VcpkgPlatform = 'x64-windows'
)

$ErrorActionPreference = 'Stop'

function Pack-Files($ext, $includeExe, $targetPath, $archiveName) {
Expand All @@ -11,6 +16,8 @@ function Pack-Files($ext, $includeExe, $targetPath, $archiveName) {
Copy-Item $env:QT_DIR\plugins\imageformats\qwebp.$ext $targetPath\imageformats\
Copy-Item $env:QT_DIR\plugins\imageformats\qjpeg.$ext $targetPath\imageformats\
Copy-Item $env:QT_DIR\plugins\platforms\qwindows.$ext $targetPath\platforms\
Copy-Item $VcpkgPath\installed\$VcpkgPlatform\bin\ssleay32.$ext $targetPath\
Copy-Item $VcpkgPath\installed\$VcpkgPlatform\bin\libeay32.$ext $targetPath\

$itemsToPack = @("$targetPath\*.$ext", "$targetPath\platforms\*.$ext", "$targetPath\imageformats\*.$ext")
if ($includeExe) {
Expand Down

0 comments on commit 9d4a859

Please sign in to comment.