diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-09-17 14:42:37 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2018-09-17 14:42:37 (GMT) |
commit | 53ad52d66d2056a4bf797d22ce1d3ee5395679a6 (patch) | |
tree | 8ed0d38de3d288001970b03871bee886169f346b /Source/cmState.cxx | |
parent | 2af106a43a259533b0cec262ca368f577c3925b0 (diff) | |
download | CMake-53ad52d66d2056a4bf797d22ce1d3ee5395679a6.zip CMake-53ad52d66d2056a4bf797d22ce1d3ee5395679a6.tar.gz CMake-53ad52d66d2056a4bf797d22ce1d3ee5395679a6.tar.bz2 |
LINK_OPTIONS: Add missing initialization actions
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index c8b8653..c6667f6 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -659,6 +659,7 @@ cmStateSnapshot cmState::CreateBaseSnapshot() pos->IncludeDirectoryPosition = 0; pos->CompileDefinitionsPosition = 0; pos->CompileOptionsPosition = 0; + pos->LinkOptionsPosition = 0; pos->BuildSystemDirectory->DirectoryEnd = pos; pos->Policies = this->PolicyStack.Root(); pos->PolicyRoot = this->PolicyStack.Root(); @@ -810,6 +811,8 @@ cmStateSnapshot cmState::Pop(cmStateSnapshot const& originSnapshot) prevPos->BuildSystemDirectory->CompileDefinitions.size(); prevPos->CompileOptionsPosition = prevPos->BuildSystemDirectory->CompileOptions.size(); + prevPos->LinkOptionsPosition = + prevPos->BuildSystemDirectory->LinkOptions.size(); prevPos->BuildSystemDirectory->DirectoryEnd = prevPos; if (!pos->Keep && this->SnapshotData.IsLast(pos)) { |