Skip to content

[Vcpkg] The property AdditionalIncludeDirectories in file vcxproj doesn't work after PR #10952 #11050

@LilyWangL

Description

@LilyWangL

Describe the bug
Due to add option /p:UseEnv=True in vcpkg_build_msbuild.cmake and vcpkg_install_msbuild.cmake. The property AdditionalIncludeDirectories in file vcxproj doesn't work.
The related PR: #10952. @voskrese Could you take a look?

Environment

  • OS: Windows10
  • Compiler: revision Visual Studio 2019

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg install pmdk:x64-windows ./vcpkg install pbc:x64-windows
  2. See error
    pbc: vcpkg\buildtrees\pbc\x64-windows-rel\src\e816cf9d08-73bced3986\arith\dlog.c : fatal error C1083: Cannot open include file: 'pbc_vc_compat.win32.h': No such file or directory
    pmdk: vcpkg\buildtrees\pmdk\src\2149e37eaa-96cbbce504\src\common\alloc.c : fatal error C1083: Cannot open include file: 'platform.h': No such file or directory

Expected behavior
A clear and concise description of what you expected to happen.

Failure logs
-(please attached failure logs)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions