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 | 4216d8649260f223daa7e282b3cd8276fcd1472e (patch) | |
| tree | 12b8b10e08bb918f638dd3fc8d0851c2a8d2889e /CMakeLists.txt | |
| parent | 4cdbb38708efad11e76a2d1f675bd0cdfbb34df6 (diff) | |
Make asciidoc (and man pages) optional
And remove it from the build
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
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() |
