summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-19 15:08:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-19 15:08:06 (GMT)
commite68a269cd2d3f402271cb3ed930a4d11551c1e76 (patch)
tree80900535e7b40ce798b628ed1d02f14b40eb92d0 /Source/cmake.cxx
parentbe2f0509037880a94f487867bee088a231054f4b (diff)
parentc42b377c298af131ca4dbc120538aec1a56ff4be (diff)
downloadCMake-e68a269cd2d3f402271cb3ed930a4d11551c1e76.zip
CMake-e68a269cd2d3f402271cb3ed930a4d11551c1e76.tar.gz
CMake-e68a269cd2d3f402271cb3ed930a4d11551c1e76.tar.bz2
Merge topic 'cache-truncate-newlines'
c42b377c cmCacheManager: Test and document newline truncation behavior a9c48307 cmCacheManager: Truncate values containing newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1652
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 2341dd6..480646e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1771,7 +1771,7 @@ bool cmake::LoadCache(const std::string& path, bool internal,
bool cmake::SaveCache(const std::string& path)
{
- bool result = this->State->SaveCache(path);
+ bool result = this->State->SaveCache(path, this->GetMessenger());
static const char* entries[] = { "CMAKE_CACHE_MAJOR_VERSION",
"CMAKE_CACHE_MINOR_VERSION",
"CMAKE_CACHE_PATCH_VERSION",