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>
This commit is contained in:
Silva Alejandro Ismael 2019-06-17 11:35:54 -03:00
parent 8d23ab78bd
commit 9eb974aaaf

View file

@ -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)