diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-07-04 16:00:13 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-07-04 16:02:54 -0400 |
commit | 23a1e944027265c70654d7395362641b59428062 (patch) | |
tree | 65ddb77c3b3879cb971fa5bc550316ef7041b7d3 /swaylock/CMakeLists.txt | |
parent | 496cec3cb7ba9e2648d023b8bda09a79d1d958ed (diff) |
Make asciidoc (and man pages) optional
And remove it from the build
Diffstat (limited to 'swaylock/CMakeLists.txt')
-rw-r--r-- | swaylock/CMakeLists.txt | 4 |
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() |