[vcpkg.targets] Add vcpkg installed libraries to MSBuild external include path (#18820)

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
This commit is contained in:
Rémy Tassoux 2021-11-19 14:49:33 +01:00 committed by GitHub
parent 56e89ebc21
commit 203daf9844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,8 @@
<!-- Include the triplet in ProjectStateLine to force VS2017 and later to fully rebuild if the user changes it. -->
<PropertyGroup>
<ProjectStateLine>VcpkgTriplet=$(VcpkgTriplet):$(ProjectStateLine)</ProjectStateLine>
<ExternalIncludePath>%(ExternalIncludePath);$(_ZVcpkgCurrentInstalledDir)include</ExternalIncludePath>
</PropertyGroup>
<!-- Determine the locations trees we want to consume. _ZVcpkgInstalledDir is special in that it doesn't have a default