-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Fix bug in .vcpkg-root
detection that breaks --overlay-triplets
#7954
Conversation
- Added check if triplet file is not available (NPE).
LGTM, though I would like to see the line ending changes get fixed so changes to the ports.cmake file are more obvious. |
Fixed in ceed178 |
.vcpkg-root
detection that breaks --overlay-ports
.vcpkg-root
detection that breaks --overlay-ports
.vcpkg-root
detection that breaks --overlay-triplets
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
At this time I have decided to make That being said, I encountered an issue when using I'll merge this PR in order to fix |
…icrosoft#7954) * - Added scripts variable to ports file. - Added check if triplet file is not available (NPE). * - Fixed line endings. * Provide location of .vcpkg-root to ports.cmake * vcpkg sets VCPKG_ROOT_PATH in ports.cmake * [vcpkg] Fail if VCPKG_ROOT_PATH is not passed from vcpkg.exe * [vcpkg] Fix vcpkg rooth path * [vcpkg] Make --x-scripts-root an experimental command
I introduced a scripts variable (like download) to align the access to it throughout the cmake files. Please test, if it fits also to your --overlay-triplets use case (see #7943).