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:
@@ -1,5 +1,5 @@
|
|||||||
if get_option('remoting')
|
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')
|
if not get_option('backend-drm')
|
||||||
error('Attempting to build the remoting plugin without the required DRM backend. ' + user_hint)
|
error('Attempting to build the remoting plugin without the required DRM backend. ' + user_hint)
|
||||||
|
|||||||
Reference in New Issue
Block a user