diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cpack.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index c2a26ad..7c22d70 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -385,7 +385,8 @@ int main (int argc, char *argv[]) cmCPack_Log(&log, cmCPackLog::LOG_VERBOSE, "For project: " << projName << std::endl); - const char* projVersion = mf->GetDefinition("CPACK_PACKAGE_VERSION"); + const char* projVersion = + mf->GetDefinition("CPACK_PACKAGE_VERSION"); if ( !projVersion ) { const char* projVersionMajor @@ -397,7 +398,8 @@ int main (int argc, char *argv[]) cmOStringStream ostr; ostr << projVersionMajor << "." << projVersionMinor << "." << projVersionPatch; - mf->AddDefinition("CPACK_PACKAGE_VERSION", ostr.str().c_str()); + mf->AddDefinition("CPACK_PACKAGE_VERSION", + ostr.str().c_str()); } int res = cpackGenerator->ProcessGenerator(); |