FindYuidoc.cmake: modify log format of yuidoc version
@@ -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)
