meson: improve an error message

We have -Dsession-managers and -Ddefault-session-manager, the latter is
currently only used for pw-uninstalled.sh. Let's adjust the error
message to use "default" so it's a bit easier to understand by this may
fail with -Dsession-managers=wireplumber.
This commit is contained in:
Peter Hutterer 2021-09-07 15:41:46 +10:00 committed by Wim Taymans
parent 902444ae1a
commit 86362407c1

View file

@ -32,7 +32,7 @@ if sm_choice == 'media-session'
if get_option('session-managers') == []
summary({'No session manager': 'pw-uninstalled.sh will not work out of the box!'})
elif not build_ms
error('media-session is the chosen session manager but it won\'t be built')
error('media-session is the selected default session manager but it won\'t be built')
endif
endif