ENH: fix line lengths
This commit is contained in:
parent
8142636742
commit
b24533f27c
@ -385,7 +385,8 @@ int main (int argc, char *argv[])
|
|||||||
cmCPack_Log(&log, cmCPackLog::LOG_VERBOSE, "For project: "
|
cmCPack_Log(&log, cmCPackLog::LOG_VERBOSE, "For project: "
|
||||||
<< projName << std::endl);
|
<< projName << std::endl);
|
||||||
|
|
||||||
const char* projVersion = mf->GetDefinition("CPACK_PACKAGE_VERSION");
|
const char* projVersion =
|
||||||
|
mf->GetDefinition("CPACK_PACKAGE_VERSION");
|
||||||
if ( !projVersion )
|
if ( !projVersion )
|
||||||
{
|
{
|
||||||
const char* projVersionMajor
|
const char* projVersionMajor
|
||||||
@ -397,7 +398,8 @@ int main (int argc, char *argv[])
|
|||||||
cmOStringStream ostr;
|
cmOStringStream ostr;
|
||||||
ostr << projVersionMajor << "." << projVersionMinor << "."
|
ostr << projVersionMajor << "." << projVersionMinor << "."
|
||||||
<< projVersionPatch;
|
<< projVersionPatch;
|
||||||
mf->AddDefinition("CPACK_PACKAGE_VERSION", ostr.str().c_str());
|
mf->AddDefinition("CPACK_PACKAGE_VERSION",
|
||||||
|
ostr.str().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
int res = cpackGenerator->ProcessGenerator();
|
int res = cpackGenerator->ProcessGenerator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user