aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindQrencode.cmake
blob: ccbf4f4e6b1c4c9e5ebddea2c5d7cc73f786949c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(Qrencode
    PKG_CONFIG_NAME libqrencode
    LIB_NAMES qrencode
    INCLUDE_NAMES qrencode.h
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Qrencode
    REQUIRED_VARS Qrencode_LIBRARY
    VERSION_VAR Qrencode_VERSION)