Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: for vcpkg hint, use host install path #228

Merged
merged 1 commit into from
May 19, 2024

Conversation

bwrsandman
Copy link
Collaborator

@bwrsandman bwrsandman commented May 19, 2024

Replace best-guess packages location with the real host and installation path.

This solves an issue with vcpkg with cross compiling from apple silicon (arm64) host and any non-x64 host. A change to vcpkg to pass on the CURRENT_HOST_INSTALLED_DIR with -DVCPKG_CURRENT_HOST_INSTALLED_DIR=${CURRENT_HOST_INSTALLED_DIR} is needed.

@bwrsandman bwrsandman merged commit 2fcbf43 into bkaradzic:master May 19, 2024
13 checks passed
@bwrsandman bwrsandman deleted the cross-compile-m1 branch May 19, 2024 11:31
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