ccmake.bbclass: Fix up un-escaped quotes in output formatting
PATCH 1/1 ccmake.bbclass: Fix up un-escaped quotes in output formatting
The quotes should be generated in the output to match the expected cmake syntax for setting cache variables.
Signed-off-by Nathan Rossi <[email protected]>
--- meta/classes/ccmake.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/ccmake.bbclass +1 -1
@@ -81,7 +81,7 @@ python do_ccmake_diffconfig() { with open(d.expand("${WORKDIR}/site-file.cmake"), "w") as f: for k, kt, v in added: - f.write("SET({0} \"{1}\" CACHE {2} "")\n".format(k, v, kt)) + f.write("SET({0} \"{1}\" CACHE {2} \"\")\n".format(k, v, kt)) bb.plain("Configuration cmake fragment written to: {0}".format(d.expand("${WORKDIR}/site-file.cmake"))) # restore the original config
---
2.20.1