From d8f6d3a274eacb158a4e6bca80cb05a04e0c36e4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 6 Oct 2009 09:59:05 -0400 Subject: [PATCH] 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. --- Source/cmTarget.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index e9bf0794d..ccac68a56 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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;