summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/meson.build12
1 files changed, 7 insertions, 5 deletions
diff --git a/systemd/meson.build b/systemd/meson.build
index 731f04e3..bc62e95a 100644
--- a/systemd/meson.build
+++ b/systemd/meson.build
@@ -1,5 +1,7 @@
-install_data(
- 'hyprland-uwsm.desktop',
- install_dir: join_paths(get_option('datadir'), 'wayland-sessions'),
- install_tag: 'runtime',
-)
+if (get_option('uwsm').allowed())
+ install_data(
+ 'hyprland-uwsm.desktop',
+ install_dir: join_paths(get_option('datadir'), 'wayland-sessions'),
+ install_tag: 'runtime',
+ )
+endif