| commit | 8eb8d16c194afec720d90f98aec46d63d5bbb33a | [log] [tgz] |
|---|---|---|
| author | Raul Tambre <raul@tambre.ee> | Fri Jun 24 21:21:17 2022 +0300 |
| committer | Raul Tambre <raul@tambre.ee> | Sun Jun 26 11:50:00 2022 +0300 |
| tree | dc3f4164e84635f359e69ab94108dbf2eb1c1ef8 | |
| parent | 324ca5b489076e548258fb7acd9ed3c238406eda [diff] |
cmSystemTools: Fix unsetenv() fallback The fallback path boils down to putenv(). Calling that with a "=" sets the variable to an empty string. Use cmSystemTools::UnPutEnv() instead, which correctly handles unsetting variables on a variety of systems.