diff options
author | Brad King <brad.king@kitware.com> | 2009-10-06 13:59:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-06 13:59:05 (GMT) |
commit | d8f6d3a274eacb158a4e6bca80cb05a04e0c36e4 (patch) | |
tree | 1ab3d78c9dd27600a770177dc361e19447697f4c /Source/cmTarget.cxx | |
parent | d4ef3bcf59b9b623fa682d24be8a10f1f8a106e2 (diff) | |
download | CMake-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/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
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; |