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

@@ -366,7 +366,13 @@ protocolwayland()
# tools
add_subdirectory(hyprctl)
add_subdirectory(hyprpm)
if(NO_HYPRPM)
message(STATUS "hyprpm is disabled")
else()
add_subdirectory(hyprpm)
message(STATUS "hyprpm is enabled (NO_HYPRPM not defined)")
endif()
# binary and symlink
install(TARGETS Hyprland)