summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-08-20 15:50:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-08-20 15:51:10 (GMT)
commitbe881e89a8c0ce24986630f4cb3d6a9b7bb1e42d (patch)
treef6c6734d47d1922173315e8e0a05bd6947724d4a /Source/CPack
parentdfe196c7b1efb0a1c05ddefba4586cc8f52dc7dd (diff)
parent5b259985bfa4686de8096a339701162b6e80de5d (diff)
downloadCMake-be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d.zip
CMake-be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d.tar.gz
CMake-be881e89a8c0ce24986630f4cb3d6a9b7bb1e42d.tar.bz2
Merge topic 'optimize-stream-shift-operators'
5b259985bf Refactor: Optimize some `std::ostream::operator<<()` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9717
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 39a8e85..305ac56 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -583,7 +583,7 @@ int main(int argc, char const* const* argv)
cmValue projVersionPatch =
mf->GetDefinition("CPACK_PACKAGE_VERSION_PATCH");
std::ostringstream ostr;
- ostr << *projVersionMajor << "." << *projVersionMinor << '.'
+ ostr << *projVersionMajor << '.' << *projVersionMinor << '.'
<< *projVersionPatch;
mf->AddDefinition("CPACK_PACKAGE_VERSION", ostr.str());
}