summaryrefslogtreecommitdiffstats
path: root/Source/cmUnsetCommand.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2019-08-09 14:41:44 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-08-09 14:41:44 (GMT)
commit54e9d38c28d0073f2cc5d690adb5c993e7793c97 (patch)
treeae648e57694ee92687509fdf3d5d6168d653684c /Source/cmUnsetCommand.cxx
parentad0e44a18b1e54bcfac38100a13e6ce169d03099 (diff)
downloadCMake-54e9d38c28d0073f2cc5d690adb5c993e7793c97.zip
CMake-54e9d38c28d0073f2cc5d690adb5c993e7793c97.tar.gz
CMake-54e9d38c28d0073f2cc5d690adb5c993e7793c97.tar.bz2
Refactor: Convert all instances of CMAKE_BUILD_WITH_CMAKE to CMAKE_BOOTSTRAP
Diffstat (limited to 'Source/cmUnsetCommand.cxx')
-rw-r--r--Source/cmUnsetCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnsetCommand.cxx b/Source/cmUnsetCommand.cxx
index 0e903c7..3eb293a 100644
--- a/Source/cmUnsetCommand.cxx
+++ b/Source/cmUnsetCommand.cxx
@@ -24,7 +24,7 @@ bool cmUnsetCommand::InitialPass(std::vector<std::string> const& args,
// what is the variable name
auto const& envVarName = variable.substr(4, variable.size() - 5);
-#ifdef CMAKE_BUILD_WITH_CMAKE
+#ifndef CMAKE_BOOTSTRAP
cmSystemTools::UnsetEnv(envVarName.c_str());
#endif
return true;