Add libadwaita to build system
This commit is contained in:
parent
7e0d1db196
commit
f6e73d85c0
11
cmake/FindAdwaita.cmake
Normal file
11
cmake/FindAdwaita.cmake
Normal file
|
@ -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)
|
|
@ -11,6 +11,7 @@ find_packages(MAIN_PACKAGES REQUIRED
|
||||||
GObject
|
GObject
|
||||||
GTK4
|
GTK4
|
||||||
ICU
|
ICU
|
||||||
|
Adwaita
|
||||||
)
|
)
|
||||||
|
|
||||||
set(RESOURCE_LIST
|
set(RESOURCE_LIST
|
||||||
|
|
Loading…
Reference in a new issue