-
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
[vcpkg-tool] Allow overriding FETCHCONTENT_FULLY_DISCONNECTED
#28489
Conversation
While However, we absolutely should support the override for |
|
IMO it is generally bad to override anything which is already passed explicitly in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for vcpkg-cmake have changed but the version was not updated
version: 2022-12-22
old SHA: c36da1395054163a8caebd6b80ef464e1d33a451
new SHA: 0b89253931e4069bc34403386ce54d2a8f91bb26
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
@Thomas1664 Could you please handle the conflicts? |
5d5e8e8
Thanks for your fix :). I merged Robert's change which had only baseline issues, merged that with this, and committed (as this has a green run). |
@BillyONeal Now |
It breaks backwards compatibility with old port versions. |
Describe the pull request
What does your PR fix?
Fixes Forcing FETCHCONTENT_FULLY_DISCONNECTED is inappropriate and breaks projects using private registries #28386Alternative to [vcpkg_configure_cmake] Partially revert #26959 #28483
We can't simply remove
FETCHCONTENT_FULLY_DISCONNECTED
because this would lead to bugs for users that want to build on isolated machines. Therefore, we have to set this variable invcpkg_configure_cmake()
as well. Since usingvcpkg_configure_cmake()
is deprecated, it shouldn't break ports in private registries. If a user still needsFETCHCONTENT_FULLY_DISCONNECTED
set toOFF
, they can override it viaOPTIONS
.