summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-07-04 16:00:13 -0400
committerDrew DeVault <sir@cmpwn.com>2017-07-04 16:02:54 -0400
commit4216d8649260f223daa7e282b3cd8276fcd1472e (patch)
tree12b8b10e08bb918f638dd3fc8d0851c2a8d2889e
parent4cdbb38708efad11e76a2d1f675bd0cdfbb34df6 (diff)
Make asciidoc (and man pages) optional
And remove it from the build
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4aec642..90b54a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,4 +46,6 @@ install(
COMPONENT data
)
-add_manpage(swaylock 1)
+if (A2X_FOUND)
+ add_manpage(swaylock 1)
+endif()