[libadwaita] Add Meson dependency override
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] Add Meson dependency override
- Date: Wed, 27 Oct 2021 16:53:21 +0000 (UTC)
commit 63690841fb0e7ea0a0bdbe129b65824cf6571fd9
Author: Tristan Partin <tristan partin io>
Date: Tue Oct 19 01:03:52 2021 -0500
Add Meson dependency override
This signals to parent projects that libadwaita will provide
libadwaita-1. This simplifies using libadwaita as a subprojects and
follows recent Meson practices.
src/meson.build | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/meson.build b/src/meson.build
index 9a3be48e..1b766865 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -278,6 +278,8 @@ libadwaita_dep = declare_dependency(
include_directories: include_directories('.'),
)
+meson.override_dependency(package_api_name, libadwaita_dep)
+
if introspection
libadwaita_gir_extra_args = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]