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:
@@ -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})
|
||||
|
Reference in New Issue
Block a user