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

[gflags] Cleanup, fix usage #35188

Merged
merged 6 commits into from
Nov 22, 2023
Merged

[gflags] Cleanup, fix usage #35188

merged 6 commits into from
Nov 22, 2023

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Nov 18, 2023

The debug postfix is hardcoded to _debug.

Restores pristine plain find_package(CONFIG) which creates non-namespaced targets, and requires an input variable for namespaced targets.
To not break users which adopted the vcpkg pattern, the namespaced targets are also generated when the input variable is not set.
The usage recommends the input variable now.

Triggered by the surprising trouble in #35021 (comment).

NOTE: Most vcpkg patches replacing gflags with gflags::gflags are obsolete and only motivated by the port's usage quirks. These patches should be removed when ports are updated.

@dg0yt dg0yt marked this pull request as ready for review November 19, 2023 09:42
@FrankXie05 FrankXie05 added the category:port-bug The issue is with a library, which is something the port should already support label Nov 20, 2023
@FrankXie05 FrankXie05 added the info:reviewed Pull Request changes follow basic guidelines label Nov 20, 2023
@data-queue data-queue merged commit a44d019 into microsoft:master Nov 22, 2023
15 checks passed
@dg0yt dg0yt deleted the gflags branch November 22, 2023 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants