aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindGCrypt.cmake
blob: 94c4c3f45b91c6e53db720ac2879f313e2e3287b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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)