diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-15 07:49:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-15 07:49:03 +0200 |
commit | bff40e4c26817a129ae020c5bc4e51fd5d8476f0 (patch) | |
tree | 4039529a0a198c5c2d6d9ba8f78294fe8acffe54 /doc | |
parent | 9cb68576723ba345527a80e0046b1313c1d8131b (diff) | |
download | weechat-bff40e4c26817a129ae020c5bc4e51fd5d8476f0.zip |
core: display an error on missing dependency in CMake (closes #916, closes #956)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 3e58148cb..7c48d171a 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -19,13 +19,9 @@ # if(ENABLE_MAN OR ENABLE_DOC) - find_package(Asciidoctor) - if(ASCIIDOCTOR_FOUND) - set(ASCIIDOCTOR_ARGS -a experimental -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify) - add_subdirectory(cs) add_subdirectory(de) add_subdirectory(en) @@ -35,7 +31,7 @@ if(ENABLE_MAN OR ENABLE_DOC) add_subdirectory(ja) add_subdirectory(pl) add_subdirectory(ru) - + else() + message(SEND_ERROR "Asciidoctor not found") endif() - endif() |