Modules: Should use GENERATOR_IS_MULTI_CONFIG to detect multi-config generators
Various modules provided as part of CMake use things like testing CMAKE_GENERATOR
or CMAKE_CONFIGURATION_TYPES
to determine whether the current generator is a multi-config generator or not. Those methods are not robust, but the recently added GENERATOR_IS_MULTI_CONFIG
global property does provide a rigorous result for this. The modules should be updated to use GENERATOR_IS_MULTI_CONFIG
instead.
Edited by Craig Scott