From c6dbe7611698437889969748ab52fd15f81d0b4c Mon Sep 17 00:00:00 2001 From: Nicolas Oliver Date: Tue, 3 Oct 2017 09:45:22 -0700 Subject: [PATCH] FindYuidoc.cmake: modify log format of yuidoc version Signed-off-by: Nicolas Oliver Signed-off-by: Brendan Le Foll --- cmake/modules/FindYuidoc.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/modules/FindYuidoc.cmake b/cmake/modules/FindYuidoc.cmake index 23175ce..1d175ae 100644 --- a/cmake/modules/FindYuidoc.cmake +++ b/cmake/modules/FindYuidoc.cmake @@ -15,7 +15,9 @@ find_package_handle_standard_args (Yuidoc DEFAULT_MSG if (YUIDOC_EXECUTABLE) execute_process(COMMAND ${YUIDOC_EXECUTABLE} --version ERROR_VARIABLE YUIDOC_VERSION) - message ("INFO - Yuidoc version is " ${YUIDOC_VERSION}) + if (YUIDOC_VERSION) + message (STATUS "Yuidoc version is ${YUIDOC_VERSION}") + endif () endif () mark_as_advanced (YUIDOC_EXECUTABLE)