From 539a182d3773b9a84807b978c9684ba471446bf4 Mon Sep 17 00:00:00 2001 From: nicole mazzuca Date: Wed, 25 Nov 2020 12:45:36 -0800 Subject: [vcpkg msbuild] Fix the issues introduced in 13755 (#14772) * Fix the issues introduced in 13755 Fixes #14735 * add VcpkgRoot != '' --- scripts/buildsystems/msbuild/vcpkg.props | 2 +- scripts/buildsystems/msbuild/vcpkg.targets | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/buildsystems/msbuild/vcpkg.props b/scripts/buildsystems/msbuild/vcpkg.props index f9f5511f0..f0806025d 100644 --- a/scripts/buildsystems/msbuild/vcpkg.props +++ b/scripts/buildsystems/msbuild/vcpkg.props @@ -28,7 +28,7 @@ false true - $([MSbuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), vcpkg.json)) + $([MSbuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), vcpkg.json)) diff --git a/scripts/buildsystems/msbuild/vcpkg.targets b/scripts/buildsystems/msbuild/vcpkg.targets index 488fd070c..3c0791aab 100644 --- a/scripts/buildsystems/msbuild/vcpkg.targets +++ b/scripts/buildsystems/msbuild/vcpkg.targets @@ -13,12 +13,19 @@ $([System.IO.Path]::Combine($(VcpkgRoot), 'scripts\buildsystems\msbuild\vcpkg-general.xml')) + $(VcpkgRoot)\ + $(VcpkgManifestRoot)\ + $([System.IO.Path]::Combine($(VcpkgRoot), 'installed')) $([System.IO.Path]::Combine($(VcpkgManifestRoot), 'vcpkg_installed')) + $(VcpkgInstalledDir)\ + $([System.IO.Path]::Combine($(VcpkgInstalledDir), $(VcpkgTriplet))) $(VcpkgCurrentInstalledDir)\ + Debug Release + debug\ true @@ -44,9 +51,9 @@ - - -- cgit v1.2.3