diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-17 20:33:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-17 20:33:21 (GMT) |
commit | ca8d1bc99b68f39fb24e76ac1a546e7849248771 (patch) | |
tree | 72c09b7544b1f67dabc477de3885671460220a9c | |
parent | 733a0e787e839c1cd72971711389f3844c937bca (diff) | |
download | CMake-ca8d1bc99b68f39fb24e76ac1a546e7849248771.zip CMake-ca8d1bc99b68f39fb24e76ac1a546e7849248771.tar.gz CMake-ca8d1bc99b68f39fb24e76ac1a546e7849248771.tar.bz2 |
ENH: make cmake compile
-rw-r--r-- | Source/cmSystemTools.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index c05b59f..b047547 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1282,13 +1282,7 @@ bool cmSystemTools::PutEnv(const char* value) bool cmSystemTools::UnsetEnv(const char* value) { -#ifdef _WIN32 - std::string var = value; - var += "="; - return cmSystemTools::PutEnv(var.c_str()); -#else - return unsetenv(value) == 0; -#endif + return false; } std::vector<std::string> cmSystemTools::GetEnvironmentVariables() |