diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-02-07 21:38:01 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-02-07 21:38:01 (GMT) |
commit | db95afce19f507738fb7a4038e79da1cb0b6b0e7 (patch) | |
tree | 9ad02287b7027798dd3f1b558a3ba2b2c94819ff | |
parent | c6134ca6c72fac7894ddbb9d066b2510ac6dd995 (diff) | |
download | CMake-db95afce19f507738fb7a4038e79da1cb0b6b0e7.zip CMake-db95afce19f507738fb7a4038e79da1cb0b6b0e7.tar.gz CMake-db95afce19f507738fb7a4038e79da1cb0b6b0e7.tar.bz2 |
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.
-rw-r--r-- | Tests/OutDir/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/OutDir/CMakeLists.txt b/Tests/OutDir/CMakeLists.txt index 8afe036..e7bc3ab 100644 --- a/Tests/OutDir/CMakeLists.txt +++ b/Tests/OutDir/CMakeLists.txt @@ -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() |