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
+1
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})