Escape double qoutes in embedded version string

Allows for double quotes to be used in build options without
breaking compilation of Version.cpp

Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: If503111d46419022d9a3255ab6c9774b75c35b90
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/528085
Reviewed-by: Matthew Bentham <matthew.bentham@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Comments-Addressed: bsgcomp <bsgcomp@arm.com>
Release-Notes: Jakub Sujak <jakub.sujak@arm.com>
Release-Notes: Gunes Bayir <gunes.bayir@arm.com>
Release-Notes: Ramy Elgammal <ramy.elgammal@arm.com>
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9780
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/SConscript b/SConscript
index 370486e..904d5ba 100644
--- a/SConscript
+++ b/SConscript
@@ -220,7 +220,8 @@
     except (OSError, subprocess.CalledProcessError):
         git_hash="unknown"
 
-    build_info = "\"arm_compute_version=%s Build options: %s Git hash=%s\"" % (VERSION, vars.args, git_hash.strip())
+    build_options = str(vars.args).replace('"', '\\"')
+    build_info = "\"arm_compute_version=%s Build options: %s Git hash=%s\"" % (VERSION,build_options, git_hash.strip())
     with open(target[0].get_path(), "w") as fd:
         fd.write(build_info)