Sfoglia il codice sorgente

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`).
Ben Boeckel 4 mesi fa
parent
commit
7191d72acd
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Tests/EnforceConfig.cmake.in

+ 1 - 0
Tests/EnforceConfig.cmake.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})