Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-06 09:11:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-06 09:26:29 +0300
commit9762a0992b3b15f63c7c45f752ae9eafd1b17daa (patch)
treeeaa21a40b857e107a2784a93245d25a9b048b746 /build_files/cmake/buildinfo.cmake
parent9a7da1242d9f44a085b8b0d0bab989f4eb945270 (diff)
CMake: configue_file() to pass strings for build-info
Using configue_file(..) would have avoided the breakage from 1daa3c3f0a1cfd, caused by buildinfo not properly escaping quotes. Rely on CMake to escaping strings instead using configure_file().
Diffstat (limited to 'build_files/cmake/buildinfo.cmake')
-rw-r--r--build_files/cmake/buildinfo.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_files/cmake/buildinfo.cmake b/build_files/cmake/buildinfo.cmake
index babc52df748..a349ffc1b56 100644
--- a/build_files/cmake/buildinfo.cmake
+++ b/build_files/cmake/buildinfo.cmake
@@ -161,6 +161,7 @@ file(WRITE buildinfo.h.txt
"#define BUILD_BRANCH \"${MY_WC_BRANCH}\"\n"
"#define BUILD_DATE \"${BUILD_DATE}\"\n"
"#define BUILD_TIME \"${BUILD_TIME}\"\n"
+ "#include \"buildinfo_static.h\"\n"
)
# cleanup