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: Alejandro Ismael Silva's avatarSilva Alejandro Ismael <>
parent 8d23ab78
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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment