1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Tests/EnforceConfig: clear the CMAKE_BUILD_TYPE environment variable

Some tests want to test the config-less build type (at least
`Tests/RunCMake/add_custom_command@WorkingDirectory`).
This commit is contained in:
Ben Boeckel
2025-09-26 08:36:42 -04:00
parent cca334aa26
commit 7191d72acd

View File

@@ -32,6 +32,7 @@ endif()
unset(ENV{NO_COLOR})
unset(ENV{CLICOLOR})
unset(ENV{CLICOLOR_FORCE})
unset(ENV{CMAKE_BUILD_TYPE})
unset(ENV{CMAKE_GENERATOR})
unset(ENV{CMAKE_GENERATOR_INSTANCE})
unset(ENV{CMAKE_GENERATOR_PLATFORM})