diff options
| author | Mihai Fufezan <mihai@fufexan.net> | 2025-01-18 11:04:40 +0200 |
|---|---|---|
| committer | Mihai Fufezan <mihai@fufexan.net> | 2025-01-18 11:39:44 +0200 |
| commit | fdfcfc824e715d372b5cc6791d5e1b7c2bc4769b (patch) | |
| tree | 13ae040392681bbdbd1b2e867c7123c17f41923b /CMakeLists.txt | |
| parent | d01756c1f41977e852eba1cbf45c0149ae0f08e8 (diff) | |
CMake, Meson: add option controlling hyprpm building
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 532f1d95..a36d70fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |
