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

cmake: Use FindPkgConfig's pkg_get_variable instead of custom macro #5199

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

marv
Copy link
Contributor

@marv marv commented Nov 23, 2022

Commit b34a901 ("Use FindPkgConfig to find libcloudproviders and related libs") introduced the usage of cmake's FindPkgConfig module which provides pkg_get_variable since version 3.4 that can be used instead of the custom PKGCONFIG_GETVAR macro

Signed-off-by: Marvin Schmidt marv@exherbo.org

Copy link
Collaborator

@claucambra claucambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@claucambra claucambra force-pushed the cmake-pkg_get_variable branch from 834bfb5 to 5232190 Compare November 23, 2022 16:23
Commit b34a901 ("Use FindPkgConfig to find libcloudproviders and
related libs") introduced the usage of cmake's FindPkgConfig module
which provides `pkg_get_variable` since version 3.4 that can be used
instead of the custom `PKGCONFIG_GETVAR` macro

Signed-off-by: Marvin Schmidt <marv@exherbo.org>
@claucambra claucambra force-pushed the cmake-pkg_get_variable branch from 5232190 to 7f72678 Compare November 24, 2022 11:04
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-5199-7f72678d32951b83eb51ee2edabccc1b744a08e5-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@claucambra claucambra merged commit 42d410f into nextcloud:master Nov 24, 2022
@mgallien mgallien added this to the 3.7.0 milestone Nov 24, 2022
@marv
Copy link
Contributor Author

marv commented Nov 24, 2022

Awesome, thanks!

Thank you for taking care of this so quickly 👍

@claucambra
Copy link
Collaborator

Awesome, thanks!

Thank you for taking care of this so quickly 👍

No worries, thank you for your contribution :)

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.

4 participants