Skip to content

'_VCPKG_PWSH_PATH-NOTFOUND' is not recognized as an internal or external command #14283

@jaryder

Description

@jaryder

Describe the bug
CMake on Windows fails its C-Compiler test due to:
'_VCPKG_PWSH_PATH-NOTFOUND' is not recognized as an internal or external command

Environment

  • OS: Windows
  • Compiler: MSVC 19.27.29112.0

To Reproduce
Steps to reproduce the behavior:

  1. update submodule vcpkg to latest (ead8d6b)
  2. Build top-level project using cmake on Windows

Expected behavior
The build to succeed.

Failure logs
Attached
vcpkg_cmake_failure_logs.txt

Additional context
Possibly related to changes in vcpkg/scripts/buildsystems/vcpkg.cmake with the introduction of _VCPKG_PWSH_PATH-NOTFOUND.
@BillyONeal

Metadata

Metadata

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