mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-20 20:06:32 +08:00
Specify VCPKG_INSTALLED_DIR, VCPKG_HOST_TRIPLET, VCPGK_TARGET_TRIPLET
Set the VCPKG_INSTALLED_DIR, VCPKG_HOST_TRIPLET, VCPGK_TARGET_TRIPLET environment variables after vcpkg ports installation. These variables will be used when building Qt modules to setup the correct build environment. Change-Id: I3a625f4ef089b5da676b96a5bebaacfb09112ee4 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
committed by
Alexandru Croitor
parent
d485277f35
commit
f41e72adc6
@@ -20,6 +20,8 @@ Copy-Item -Path "$vcpkginstallroot\*" -Destination "$vcpkgRoot\installed" -Recur
|
||||
|
||||
Run-Executable "cmake" "-DVCPKG_EXECUTABLE=$vcpkgExe -DVCPKG_INSTALL_ROOT=$vcpkgInstallRoot -DOUTPUT=$env:USERPROFILE\versions.txt -P $PSScriptRoot\..\shared\vcpkg_parse_packages.cmake"
|
||||
|
||||
Set-EnvironmentVariable "VCPKG_INSTALLED_DIR" "$vcpkgRoot\installed"
|
||||
|
||||
Remove-Item -Path "$vcpkginstallroot" -Recurse -Force
|
||||
|
||||
Set-Location "$PSScriptRoot"
|
||||
|
||||
Reference in New Issue
Block a user