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



commit f59667d3fa7840b43e3c0c17f92e3b442eee4316
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]