Skip to content

cmGlobalGenerator: Fix CheckCompilerIdCompatibility local var lifetime

Save the value of the compiler id variable in storage we own so that mutating it based on a policy does not invalidate the local value for later comparisons. This was identified by Clang AddressSanitizer.

Merge request reports