diff options
author | Teemu Ikonen <tpikonen@mailbox.org> | 2022-09-08 11:31:37 +0300 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-01-24 19:20:42 +0100 |
commit | f6e73d85c00a60a719da95a048ba2c15712325c3 (patch) | |
tree | 82c2c6618e0c6d03dac8060a0ab8308709ac6531 /cmake | |
parent | 7e0d1db1965555720db2bef7380e61c23ef6dbcd (diff) | |
download | dino-f6e73d85c00a60a719da95a048ba2c15712325c3.tar.gz dino-f6e73d85c00a60a719da95a048ba2c15712325c3.zip |
Add libadwaita to build system
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) |