cmMakefile: Add missing initializer for recently added member

In commit 2f1ffa003c (find_package: Add support for default GLOBAL
imported targets, 2022-03-10) we added a field without an initializer.
This was exposed by a few failures in nightly testing.  Previously it
worked only by chance that the member's memory had suitable values.
This commit is contained in:
Brad King
2022-03-15 11:23:32 -04:00
parent 2f1ffa003c
commit f5bca247ee

View File

@@ -1162,5 +1162,5 @@ private:
std::set<std::string> WarnedCMP0074;
bool IsSourceFileTryCompile;
mutable bool SuppressSideEffects;
ImportedTargetScope CurrentImportedTargetScope;
ImportedTargetScope CurrentImportedTargetScope = ImportedTargetScope::Local;
};