Skip to content

toolchain: added reasons to the vcpkg assertions - #2

Merged
codethinki merged 1 commit into
mainfrom
fix/toolchain-assert-reasons
Oct 4, 2026
Merged

codethinki merged 1 commit into
mainfrom
fix/toolchain-assert-reasons

Conversation

@codethinki

Copy link
Copy Markdown
Owner
  • VCPKG_ROOT unset: VCPKG_ROOT is not set, point it at your vcpkg directory or set CTH_DISABLE_VCPKG_INTEGRATION
  • vcpkg missing: vcpkg not found in VCPKG_ROOT (<path>), run bootstrap-vcpkg there
  • HINTS instead of HINT for find_program

Before, an unset VCPKG_ROOT only reported Value is empty, followed by a misleading "unable to find a build program corresponding to Ninja".

Also pass HINTS instead of HINT to find_program, HINT was searched as a path.
@codethinki
codethinki merged commit c7e1056 into main Oct 4, 2026
14 checks passed
@codethinki
codethinki deleted the fix/toolchain-assert-reasons branch October 4, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant