From 23a1e944027265c70654d7395362641b59428062 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 --- swaylock/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'swaylock/CMakeLists.txt') 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() -- cgit v1.2.3