summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-04 15:50:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-12-04 15:50:33 (GMT)
commitd8290531a9c98773ef233c23b81af76e8a7e099c (patch)
tree3f3469f3e0ae2ec5c6a1b7d0abb78767f8d621c9 /Source/CPack
parentcaa1c4967a29feee1789a7fc548f5bdf1eb44781 (diff)
parentf25d87db9e406eda77aa62f583e1ceeb7b145381 (diff)
downloadCMake-d8290531a9c98773ef233c23b81af76e8a7e099c.zip
CMake-d8290531a9c98773ef233c23b81af76e8a7e099c.tar.gz
CMake-d8290531a9c98773ef233c23b81af76e8a7e099c.tar.bz2
Merge topic 'cpack-pkg-fix'
f25d87db CPack: Fix macOS PKG component dependency information Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1547
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackPKGGenerator.cxx2
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();