Commit 49f89ea8 authored by Ben Boeckel's avatar Ben Boeckel

cmake: simplify a variable name

parent 4af2b393
......@@ -59,9 +59,9 @@ if (formatters)
continue ()
endif ()
get_property("format_${formatter}_script" GLOBAL
get_property("formatter_script" GLOBAL
PROPERTY "formatter_${formatter}_script")
string(APPEND formatters_build "format_all '${formatter}' '${format_${formatter}_script}'\n")
string(APPEND formatters_build "format_all '${formatter}' '${formatter_script}'\n")
string(APPEND formatters_install "format_all '${formatter}' 'format.${formatter}'\n")
endforeach ()
......
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