mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Add option to deactivate searching for gnome keyring
Summary: The current cmake files search for gnome keyring unconditionally, which on source-based distros would lead to a hard dependency on the package. Hence, it would be a good idea to introduce an option to deactivate this if necessary. Reviewers: #falkon, drosca Reviewed By: #falkon, drosca Subscribers: heikobecker, drosca Differential Revision: https://phabricator.kde.org/D8038
This commit is contained in:
parent
91ca81df0e
commit
75bd63ff2d
|
@ -87,7 +87,10 @@ endif()
|
|||
# Optional: GnomeKeyring
|
||||
find_package(PkgConfig)
|
||||
if (PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(GNOME_KEYRING gnome-keyring-1)
|
||||
option(BUILD_KEYRING "Gnome keyring password plugin" ON)
|
||||
if (BUILD_KEYRING)
|
||||
pkg_check_modules(GNOME_KEYRING gnome-keyring-1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional: KWallet
|
||||
|
|
Loading…
Reference in New Issue
Block a user