Commit 3b172024 authored by Ben Boeckel's avatar Ben Boeckel

cmake: output the formatters that are enabled

parent 3c9927dd
......@@ -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