Commit ca8d1bc9 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: make cmake compile

parent 733a0e78
......@@ -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());
return unsetenv(value) == 0;
return false;
std::vector<std::string> cmSystemTools::GetEnvironmentVariables()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment