libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
override the dependency if we're on a new enough version of meson
2021-08-03, Gary Kramlich
c7c9f38ec256
Parents
317da829d6be
Children
3388eea5b082
override the dependency if we're on a new enough version of meson
Testing Done:
Just ran meson to make sure nothing went wrong.
Reviewed at https://reviews.imfreedom.org/r/835/
1 files changed, 4 insertions(+), 0 deletions(-)
+4
-0
meson.build
--- a/meson.build Thu Jul 29 22:51:39 2021 -0500
+++ b/meson.build Tue Aug 03 00:36:54 2021 -0500
@@ -276,6 +276,10 @@
link_with : libgnt,
dependencies : [ncurses, glib])
+if meson.version().version_compare('>=0.54.0')
+ meson.override_dependency('gnt3', libgnt_dep)
+endif
+
pkgconfig.generate(
libgnt,
name : 'LibGNT',