rpicamsrc: fix build with older meson versions
authorTim-Philipp Müller <tim@centricular.com>
Fri, 10 Jul 2020 20:43:14 +0000 (21:43 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 10 Jul 2020 20:43:14 +0000 (21:43 +0100)
assert() used to require two arguments.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/668>

sys/rpicamsrc/meson.build

index 2cc9e7c..56cabc1 100644 (file)
@@ -8,7 +8,7 @@ rpicamsrc_sources = [
 ]
 
 if host_system != 'linux' or (host_cpu != 'arm' and host_cpu != 'aarch64')
-  assert(not get_option('rpicamsrc').enabled())
+  assert(not get_option('rpicamsrc').enabled(), 'rpicamsrc was enabled by options but will not be built')
   subdir_done()
 endif