diff options
author | Pavel Solovev <[email protected]> | 2024-11-01 13:54:17 +0000 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-11-02 00:20:52 +0200 |
commit | 29e7dc642831801d14480cf7e4bb19f6ffb118e9 (patch) | |
tree | 1987294365f09f49734ec8a802cdc6a87ad52273 /meson.build | |
parent | 3c0605c68e50416819fea471a8fbef05e4a18684 (diff) | |
download | Hyprland-29e7dc642831801d14480cf7e4bb19f6ffb118e9.tar.gz Hyprland-29e7dc642831801d14480cf7e4bb19f6ffb118e9.zip |
Systemd fixes
Fix installation path, install the service only if the systemd option is enabled
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index d0ba9a5c..76765645 100644 --- a/meson.build +++ b/meson.build @@ -53,7 +53,9 @@ epoll_dep = dependency('epoll-shim', required: false) # timerfd on BSDs # Handle options if get_option('systemd').enabled() + systemd = dependency('systemd') add_project_arguments('-DUSES_SYSTEMD', language: 'cpp') + subdir('systemd') endif if get_option('legacy_renderer').enabled() @@ -89,7 +91,6 @@ subdir('hyprpm/src') subdir('assets') subdir('example') subdir('docs') -subdir('systemd') # Generate hyprland.pc pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig') |