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:
parent
8d23ab78bd
commit
9eb974aaaf
|
@ -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…
Reference in New Issue