mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-15 20:05:01 +00:00
06c4a8ffd6
This is necessary for Flatpak, because Yocto messes with the /usr/bin/*-config files, and really wants everyone to use pkgconfig. A fallback is kept to build on platforms which don't have pkgconfig for those libraries.
10 lines
298 B
CMake
10 lines
298 B
CMake
include(PkgConfigWithFallbackOnConfigScript)
|
|
find_pkg_config_with_fallback_on_config_script(GPGME
|
|
PKG_CONFIG_NAME gpgme
|
|
CONFIG_SCRIPT_NAME gpgme
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(GPGME
|
|
REQUIRED_VARS GPGME_LIBRARY
|
|
VERSION_VAR GPGME_VERSION)
|