commit f42df9062bde7fa8171abe83f042db7616fc50e9
parent 203326b7f4ef7fdf42945838a2c84f704dc365b0
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 20 Jun 2017 14:32:22 +0200
Fix the research of the asciidoc tool suite
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/doc/CMakeLists.txt b/cmake/doc/CMakeLists.txt
@@ -24,7 +24,7 @@ set(SOLSTICE_DOC_DIR ${PROJECT_SOURCE_DIR}/../doc)
# Look for asciidoc and a2x programs
################################################################################
if(_html)
- find_program(ASCIIDOC asciidoc)
+ find_program(ASCIIDOC NAMES asciidoc asciidoc.py)
if(NOT ASCIIDOC)
unset(_html)
message(WARNING
@@ -34,7 +34,7 @@ if(_html)
endif()
if(_roff)
- find_program(A2X a2x)
+ find_program(A2X NAMES a2x a2x.py)
if(NOT A2X)
unset(_roff)
message(WARNING