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:
Brad King 2009-10-06 09:59:05 -04:00
parent d4ef3bcf59
commit d8f6d3a274
1 changed files with 1 additions and 0 deletions

View File

@ -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;