Commit d11b0ade authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'configure-warning-messages'


 cmake: output the formatters that are enabled
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Brad King's avatarBrad King <>
Merge-request: !3
parents ddd436e3 3b172024
......@@ -19,7 +19,14 @@ function (add_formatter name)
option("ENABLE_${name}" "Install the ${tool} formatter script" "${tools_exist}")
if (ENABLE_${name})
message(STATUS "Enabling the ${name} formatter.")
if (NOT tools_exist)
"The ${name} formatter is enabled, but required tools do not exist in PATH.")
endif ()
else ()
message(STATUS "Disabling the ${name} formatter.")
endif ()
endfunction ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment