mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-19 13:40:42 -06:00
Target copy ctor should initialize internal state
The commit "Target copy ctor should copy internal state" created a new cmTargetInternals constructor but failed to initialize a POD member that the original constructor initializes. This commit fixes it.
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
}
|
||||
cmTargetInternals(cmTargetInternals const& r)
|
||||
{
|
||||
this->SourceFileFlagsConstructed = false;
|
||||
// Only some of these entries are part of the object state.
|
||||
// Others not copied here are result caches.
|
||||
this->SourceEntries = r.SourceEntries;
|
||||
|
||||
Reference in New Issue
Block a user