[glib-networking/wip/nacho/gnutls-optional: 4/6] tests: it is fine to pass a not-found target to the deps



commit e71e76b68e2dbcc36487552e456831b1cf8cffe1
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Tue Sep 11 12:29:15 2018 +0200

    tests: it is fine to pass a not-found target to the deps
    
    It will be skipped over.

 tls/tests/meson.build | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index 656b0e8..3bdba0e 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -8,14 +8,9 @@ deps = [
   glib_dep,
   gmodule_dep,
   gobject_dep,
+  gnutls_dep
 ]
 
-if gnutls_dep.found()
-  deps += [
-    gnutls_dep
-  ]
-endif
-
 cflags = [
   '-DSRCDIR="@0@"'.format(meson.current_source_dir()),
   '-DTOP_BUILDDIR="@0@"'.format(meson.build_root())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]