CMake, Meson: add option controlling hyprpm building

This commit is contained in:
Mihai Fufezan
2025-01-18 11:04:40 +02:00
parent d01756c1f4
commit fdfcfc824e
3 changed files with 12 additions and 2 deletions

View File

@@ -101,11 +101,14 @@ endif
subdir('protocols')
subdir('src')
subdir('hyprctl')
subdir('hyprpm/src')
subdir('assets')
subdir('example')
subdir('docs')
if get_option('hyprpm').enabled()
subdir('hyprpm/src')
endif
# Generate hyprland.pc
pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')