meson: Don't depend on gstreamer-check-1.0 on windows
authorScott D Phillips <scott.d.phillips@intel.com>
Tue, 25 Oct 2016 15:54:52 +0000 (08:54 -0700)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 26 Oct 2016 12:20:03 +0000 (17:50 +0530)
https://bugzilla.gnome.org/show_bug.cgi?id=773114

meson.build
tests/meson.build

index accedf2..88d6e4c 100644 (file)
@@ -113,8 +113,10 @@ gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req,
     fallback : ['gst-plugins-base', 'sdp_dep'])
 gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req,
     fallback : ['gst-plugins-base', 'rtsp_dep'])
-gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
-  fallback : ['gstreamer', 'gst_check_dep'])
+if host_machine.system() != 'windows'
+  gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
+    fallback : ['gstreamer', 'gst_check_dep'])
+endif
 gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
   fallback : ['gstreamer', 'gst_controller_dep'])
 
index 0e2c887..cd3aa67 100644 (file)
@@ -1 +1,3 @@
-subdir('check')
+if host_machine.system() != 'windows'
+  subdir('check')
+endif