diff options
author | Brad King <brad.king@kitware.com> | 2022-03-15 15:23:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-15 15:23:32 (GMT) |
commit | f5bca247eec147b5cd76f14dffb6b32ab469ae98 (patch) | |
tree | 266133a52e7bc2bd16b554d4468b2e22a54797ce /Source/cmMakefile.h | |
parent | 2f1ffa003c07d5fe7ca10c4ee06e81dd55f5e415 (diff) | |
download | CMake-f5bca247eec147b5cd76f14dffb6b32ab469ae98.zip CMake-f5bca247eec147b5cd76f14dffb6b32ab469ae98.tar.gz CMake-f5bca247eec147b5cd76f14dffb6b32ab469ae98.tar.bz2 |
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.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 99cc89f..6d44e79 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -1162,5 +1162,5 @@ private: std::set<std::string> WarnedCMP0074; bool IsSourceFileTryCompile; mutable bool SuppressSideEffects; - ImportedTargetScope CurrentImportedTargetScope; + ImportedTargetScope CurrentImportedTargetScope = ImportedTargetScope::Local; }; |