aboutsummaryrefslogtreecommitdiff
path: root/swaylock/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'swaylock/CMakeLists.txt')
-rw-r--r--swaylock/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/swaylock/CMakeLists.txt b/swaylock/CMakeLists.txt
index 4aec6424..90b54a72 100644
--- a/swaylock/CMakeLists.txt
+++ b/swaylock/CMakeLists.txt
@@ -46,4 +46,6 @@ install(
COMPONENT data
)
-add_manpage(swaylock 1)
+if (A2X_FOUND)
+ add_manpage(swaylock 1)
+endif()