summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-06 13:59:05 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-06 13:59:05 (GMT)
commitd8f6d3a274eacb158a4e6bca80cb05a04e0c36e4 (patch)
tree1ab3d78c9dd27600a770177dc361e19447697f4c /Source
parentd4ef3bcf59b9b623fa682d24be8a10f1f8a106e2 (diff)
downloadCMake-d8f6d3a274eacb158a4e6bca80cb05a04e0c36e4.zip
CMake-d8f6d3a274eacb158a4e6bca80cb05a04e0c36e4.tar.gz
CMake-d8f6d3a274eacb158a4e6bca80cb05a04e0c36e4.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index e9bf079..ccac68a 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;