summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallExportGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-27 16:58:02 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-27 16:58:02 (GMT)
commitefc6c23a47e456b066089ed6f8fd11a1ca4396d3 (patch)
treedb943cd15d492038d8286484e857c1e77a148be7 /Source/cmInstallExportGenerator.cxx
parentaf6414c6c5e9767f0f997523af8fe1e5a71f6093 (diff)
downloadCMake-efc6c23a47e456b066089ed6f8fd11a1ca4396d3.zip
CMake-efc6c23a47e456b066089ed6f8fd11a1ca4396d3.tar.gz
CMake-efc6c23a47e456b066089ed6f8fd11a1ca4396d3.tar.bz2
bootstrap: Do not declare cmSystemTools functions that are not implemented
Convert runtime error messages into compile-time errors.
Diffstat (limited to 'Source/cmInstallExportGenerator.cxx')
-rw-r--r--Source/cmInstallExportGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx
index d932fd9..820f24a 100644
--- a/Source/cmInstallExportGenerator.cxx
+++ b/Source/cmInstallExportGenerator.cxx
@@ -85,7 +85,9 @@ void cmInstallExportGenerator::ComputeTempDir()
}
if (useMD5) {
// Replace the destination path with a hash to keep it short.
+#ifndef CMAKE_BOOTSTRAP
this->TempDir += cmSystemTools::ComputeStringMD5(this->Destination);
+#endif
} else {
std::string dest = this->Destination;
// Avoid unix full paths.