summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeGuardCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIncludeGuardCommand.cxx')
-rw-r--r--Source/cmIncludeGuardCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIncludeGuardCommand.cxx b/Source/cmIncludeGuardCommand.cxx
index 3b126b0..e560910 100644
--- a/Source/cmIncludeGuardCommand.cxx
+++ b/Source/cmIncludeGuardCommand.cxx
@@ -21,7 +21,7 @@ enum IncludeGuardScope
std::string GetIncludeGuardVariableName(std::string const& filePath)
{
std::string result = "__INCGUARD_";
-#ifdef CMAKE_BUILD_WITH_CMAKE
+#ifndef CMAKE_BOOTSTRAP
result += cmSystemTools::ComputeStringMD5(filePath);
#else
result += cmSystemTools::MakeCidentifier(filePath);