mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-21 14:34:30 +00:00
Add libadwaita to build system
This commit is contained in:
parent
7e0d1db196
commit
f6e73d85c0
2 changed files with 12 additions and 0 deletions
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
|
||||
GTK4
|
||||
ICU
|
||||
Adwaita
|
||||
)
|
||||
|
||||
set(RESOURCE_LIST
|
||||
|
|
Loading…
Reference in a new issue