mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-09-08 12:16:59 +00:00
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.
11 lines
310 B
CMake
11 lines
310 B
CMake
include(PkgConfigWithFallbackOnConfigScript)
|
|
find_pkg_config_with_fallback_on_config_script(GCrypt
|
|
PKG_CONFIG_NAME libgcrypt
|
|
CONFIG_SCRIPT_NAME libgcrypt
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(GCrypt
|
|
REQUIRED_VARS GCrypt_LIBRARY
|
|
VERSION_VAR GCrypt_VERSION)
|