Skip to content

Commit

Permalink
[vcpkg.targets] Add vcpkg installed libraries to MSBuild external inc…
Browse files Browse the repository at this point in the history
…lude path (microsoft#18820)

Co-authored-by: Rémy Tassoux <[email protected]>
  • Loading branch information
RT2Code and Rémy Tassoux authored Nov 19, 2021
1 parent 56e89eb commit 203daf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/buildsystems/msbuild/vcpkg.targets
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 203daf9

Please sign in to comment.