From f6e73d85c00a60a719da95a048ba2c15712325c3 Mon Sep 17 00:00:00 2001 From: Teemu Ikonen Date: Thu, 8 Sep 2022 11:31:37 +0300 Subject: Add libadwaita to build system --- cmake/FindAdwaita.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cmake/FindAdwaita.cmake (limited to 'cmake') diff --git a/cmake/FindAdwaita.cmake b/cmake/FindAdwaita.cmake new file mode 100644 index 00000000..8202eea1 --- /dev/null +++ b/cmake/FindAdwaita.cmake @@ -0,0 +1,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) -- cgit v1.2.3-70-g09d2