mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 12:19:41 -06:00
ClearMatches was clearing many variables which were never set in the first place. Instead, store how many matches were made last time and only clear those. It is moved to the cmMakefile class since it is a common utility used by multiple commands.
3.0 KiB
3.0 KiB