diff options
author | Scott D Phillips <scott.d.phillips@intel.com> | 2016-10-25 08:54:52 -0700 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-26 17:50:03 +0530 |
commit | 6c77b81df86f882bb76bc4cab7485e1b4f689014 (patch) | |
tree | 001dc7aa1f447899476d9cdc928d79e4a9d81213 | |
parent | c64165fb002892a7ccd981c09badf3db3c57ca3f (diff) |
meson: Don't depend on gstreamer-check-1.0 on windows
https://bugzilla.gnome.org/show_bug.cgi?id=773114
-rw-r--r-- | meson.build | 6 | ||||
-rw-r--r-- | tests/meson.build | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/meson.build b/meson.build index accedf24..88d6e4c9 100644 --- a/meson.build +++ b/meson.build @@ -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']) diff --git a/tests/meson.build b/tests/meson.build index 0e2c8874..cd3aa67d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1 +1,3 @@ -subdir('check') +if host_machine.system() != 'windows' + subdir('check') +endif |