forked from enlightenment/enlightenment
Updating Meson build Wayland conditional to match Makefile
Summary: The conditional logic is flawed. If `HAVE_WAYLAND` is true, only then should the path be updated to include wayland-sessions. Test Plan: Verified desired output in build/meson-info/intro-installed.json after testing a clean build Reviewers: devilhorns Subscribers: cedric, zmike Tags: #enlightenment-git Differential Revision: https://phab.enlightenment.org/D9868
This commit is contained in:
parent
d961e31436
commit
ee8773c41a
|
@ -6,12 +6,12 @@ e_desktop = configure_file(input : 'enlightenment.desktop.in',
|
|||
configuration: desktop_config
|
||||
)
|
||||
|
||||
if config_h.has('HAVE_WAYLAND') == true
|
||||
install_data(e_desktop,
|
||||
install_dir : join_paths(dir_data, 'wayland-sessions'))
|
||||
endif
|
||||
|
||||
if config_h.has('HAVE_WAYLAND_ONLY') == false
|
||||
install_data(e_desktop,
|
||||
install_dir : join_paths(dir_data, 'xsessions'))
|
||||
endif
|
||||
|
||||
if config_h.has('HAVE_WAYLAND') == false
|
||||
install_data(e_desktop,
|
||||
install_dir : join_paths(dir_data, 'wayland-sessions'))
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue