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:
Kyle Edwards
2023-02-07 16:38:01 -05:00
parent c6134ca6c7
commit db95afce19

View File

@@ -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()