summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 55cf61d..3b63e87 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1280,6 +1280,11 @@ bool cmSystemTools::PutEnv(const char* value)
return ret == 0;
}
+bool cmSystemTools::UnsetEnv(const char* value)
+{
+ return unsetenv(value) == 0;
+}
+
std::vector<std::string> cmSystemTools::GetEnvironmentVariables()
{
std::vector<std::string> env;