meson: Allow session-managers option to be an absolute path

If it's not an absolute_path, then set the build_ms and build_wp
as normal, otherwise use the value as passed in.
This commit is contained in:
Tom Briden 2021-10-23 10:51:16 +01:00 committed by Wim Taymans
parent e167123667
commit 6cea8b201b
2 changed files with 4 additions and 2 deletions

View file

@ -58,6 +58,9 @@ elif default_sm == 'wireplumber'
conf_config_uninstalled.set('session_manager_path', wp_uninstalled.full_path())
conf_config_uninstalled.set('session_manager_args', 'wireplumber')
conf_config_uninstalled.set('sm_comment', '')
else
conf_config_uninstalled.set('session_manager_path', default_sm)
conf_config_uninstalled.set('sm_comment', '')
endif
conf_files = [