CMake, Meson: add option controlling hyprpm building
This commit is contained in:
parent
d01756c1f4
commit
fdfcfc824e
3 changed files with 12 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue