summaryrefslogtreecommitdiff
path: root/Source/CPack
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:13:10 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:13:10 +0900
commit5b13f2e6aa1ca2f812f53a40b11ff1f80277f897 (patch)
tree50b33fee97f68ab5dc1cf3a34ffba0519b043697 /Source/CPack
parent488e9638b71b8b9cdb3055835815d77720eae06b (diff)
downloadcmake-5b13f2e6aa1ca2f812f53a40b11ff1f80277f897.tar.gz
cmake-5b13f2e6aa1ca2f812f53a40b11ff1f80277f897.tar.bz2
cmake-5b13f2e6aa1ca2f812f53a40b11ff1f80277f897.zip
Imported Upstream version 3.10.1upstream/3.10.1
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 4f5b2a05a..9ea85405c 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();