all: enhance CMake tests; assorted updates

This commit is contained in:
Markus F.X.J. Oberhumer
2024-04-06 15:47:46 +02:00
parent ed35613d64
commit 97cf29ffbb
22 changed files with 473 additions and 398 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ void Options::reset() noexcept {
#endif
// support NO_COLOR, see https://no-color.org/
// "... when present and not an empty string (regardless of its value)"
const char *e = getenv("NO_COLOR");
const char *e = upx_getenv("NO_COLOR");
if (e && e[0])
o->console = CON_FILE;