mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
Tests/OutDir: Remove stale cache entry on multi-config generators
This cache entry is left over from the incorrect behavior prior to the previous commit and was causing the test to fail with the new, correct behavior. Unset the cache variable when a multi-config generator is in use.
This commit is contained in:
@@ -7,7 +7,7 @@ if(_isMultiConfig)
|
||||
string(TOUPPER "${config}" CONFIG)
|
||||
list(APPEND configs "${CONFIG}")
|
||||
endforeach()
|
||||
set(CMAKE_BUILD_TYPE)
|
||||
unset(CMAKE_BUILD_TYPE CACHE)
|
||||
elseif(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user