aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
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
commit23a1e944027265c70654d7395362641b59428062 (patch)
tree65ddb77c3b3879cb971fa5bc550316ef7041b7d3 /swaymsg
parent496cec3cb7ba9e2648d023b8bda09a79d1d958ed (diff)
Make asciidoc (and man pages) optional
And remove it from the build
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt
index f23919b8..b428a409 100644
--- a/swaymsg/CMakeLists.txt
+++ b/swaymsg/CMakeLists.txt
@@ -18,4 +18,6 @@ install(
COMPONENT runtime
)
-add_manpage(swaymsg 1)
+if (A2X_FOUND)
+ add_manpage(swaymsg 1)
+endif()