mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
1ade687d8d
At the start of each configure step we already reset the generator selection (CMAKE_GENERATOR) to match that loaded for the current project. Add missing code to reset the generator platform and toolset (CMAKE_GENERATOR_PLATFORM and CMAKE_GENERATOR_TOOLSET) also so that they do not leak across projects.