diff options
author | Brad King <brad.king@kitware.com> | 2017-12-01 15:53:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-12-01 15:53:10 (GMT) |
commit | 64713d4ca0ae864958ecdeaee9642488c3f2cbc7 (patch) | |
tree | 7420e0c70b62e526bfdf0c89a612e53106ac6a2a | |
parent | 085bdf5aad5c9b0da2c5b3a831a3276b68535be0 (diff) | |
parent | f25d87db9e406eda77aa62f583e1ceeb7b145381 (diff) | |
download | CMake-64713d4ca0ae864958ecdeaee9642488c3f2cbc7.zip CMake-64713d4ca0ae864958ecdeaee9642488c3f2cbc7.tar.gz CMake-64713d4ca0ae864958ecdeaee9642488c3f2cbc7.tar.bz2 |
Merge branch 'cpack-pkg-fix' into release-3.10release
Merge-request: !1547
-rw-r--r-- | Source/CPack/cmCPackPKGGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPKGGenerator.cxx b/Source/CPack/cmCPackPKGGenerator.cxx index 4f5b2a0..9ea8540 100644 --- a/Source/CPack/cmCPackPKGGenerator.cxx +++ b/Source/CPack/cmCPackPKGGenerator.cxx @@ -189,7 +189,7 @@ void cmCPackPKGGenerator::CreateChoice(const cmCPackComponent& component, // This way, selecting C will automatically select everything it depends // on (B and A), while selecting something that depends on C--either D // or E--will automatically cause C to get selected. - std::ostringstream selected("my.choice.selected"); + std::ostringstream selected("my.choice.selected", std::ios_base::ate); std::set<const cmCPackComponent*> visited; AddDependencyAttributes(component, visited, selected); visited.clear(); |