File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ Write-Host "Semver: $semver"
8383$installerFileBase = " ${applicationName} _$ ( $semver -replace ' [\.\-\+]' , ' _' ) _installer"
8484
8585$depsDir = (Get-ChildItem - Path $ (Join-Path $VcpkgRootDir installed) | Where-Object {$_.Name -ne " vcpkg" })[0 ].FullName
86+ $depsRuntimeDir = Join-Path $depsDir ($IsWindows ? " bin" : " lib" )
8687
8788cmake - S . - B $ (Resolve-Path $BuildDir ) - G Ninja `
8889 - DCMAKE_BUILD_TYPE= RelWithDebInfo `
@@ -91,8 +92,9 @@ cmake -S . -B $(Resolve-Path $BuildDir) -G Ninja `
9192 " -DCMAKE_CXX_COMPILER_LAUNCHER=$ ( $CCache ? ' ccache' : ' ' ) " `
9293 - DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT= Embedded `
9394 - DCK_ENABLE_CONSOLE:BOOL= FALSE `
95+ - DCK_WIN_APPLOCAL_DEPS:BOOL= ON `
9496 - DQT_NO_PRIVATE_MODULE_WARNING:BOOL= ON `
95- " -DQMSETUP_APPLOCAL_DEPS_PATHS_RELWITHDEBINFO=$ ( Join-Path $depsDir lib ) " `
97+ " -DQMSETUP_APPLOCAL_DEPS_PATHS_RELWITHDEBINFO=$depsRuntimeDir " `
9698 - DAPPLICATION_INSTALL:BOOL= ON `
9799 - DAPPLICATION_CONFIGURE_INSTALLER:BOOL= ON `
98100 - DINNOSETUP_USE_UNOFFICIAL_LANGUAGE:BOOL= ON `
You can’t perform that action at this time.
0 commit comments