From 4216d8649260f223daa7e282b3cd8276fcd1472e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 4 Jul 2017 16:00:13 -0400 Subject: Make asciidoc (and man pages) optional And remove it from the build --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3