aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindAdwaita.cmake
blob: 8202eea1d8402c030483dc0c4b156e7cdf0f01ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(Adwaita
    PKG_CONFIG_NAME libadwaita-1
    LIB_NAMES libadwaita-1
    INCLUDE_NAMES adwaita.h
    )

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Adwaita
    REQUIRED_VARS Adwaita_LIBRARY
    VERSION_VAR Adwaita_VERSION)