commit f4ef4b8bd6baf91e4abb106320b1b6d46d3e0558
parent c6dae44a14749fc44e639c52f2d37afc5f61c417
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 12 Nov 2018 16:26:56 +0100
Handle when a2x is not found
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/doc/CMakeLists.txt b/cmake/doc/CMakeLists.txt
@@ -20,10 +20,10 @@ set(HTRDR_DOC_DIR ${PROJECT_SOURCE_DIR}/../doc)
################################################################################
find_program(A2X NAMES a2x a2x.py)
if(NOT A2X)
- unset(_roff)
message(WARNING
"The `a2x' program is missing. "
"The htrdr man pages cannot be generated.")
+ return()
endif()
################################################################################