diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindAdwaita.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
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) |