mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
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. (From OE-Core rev: a19a6201c8cc255583bd014534b4a6ec2524070f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
bf45a3e222
commit
97f37fbda1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user