build: Fix hint to disable remoting

If a dependency is missing, the error message should tell the build option to disable it.

Show the correct build option in the error message of the remoting plugin.

Signed-off-by: Silva Alejandro Ismael <silva.alejandro.ismael@gmail.com>
dev
Silva Alejandro Ismael 5 years ago
parent 8d23ab78bd
commit 9eb974aaaf
  1. 2
      remoting/meson.build

@ -1,5 +1,5 @@
if get_option('remoting')
user_hint = 'If you rather not build this, set "remoting=false".'
user_hint = 'If you rather not build this, set \'-Dremoting=false\'.'
if not get_option('backend-drm')
error('Attempting to build the remoting plugin without the required DRM backend. ' + user_hint)

Loading…
Cancel
Save