Merge topic 'CPack-ArchiveGen-andDESTIR_ON'
ddec053 Make CPACK_SET_DESTDIR work with archive generator + component-based packaging
This commit is contained in:
commit
7ff422fb8e
@ -905,7 +905,7 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
|
|||||||
localFileName =
|
localFileName =
|
||||||
cmSystemTools::RelativePath(InstallPrefix, fit->c_str());
|
cmSystemTools::RelativePath(InstallPrefix, fit->c_str());
|
||||||
localFileName =
|
localFileName =
|
||||||
localFileName.substr(localFileName.find('/')+1,
|
localFileName.substr(localFileName.find_first_not_of('/'),
|
||||||
std::string::npos);
|
std::string::npos);
|
||||||
Components[installComponent].Files.push_back(localFileName);
|
Components[installComponent].Files.push_back(localFileName);
|
||||||
cmCPackLogger(cmCPackLog::LOG_DEBUG, "Adding file <"
|
cmCPackLogger(cmCPackLog::LOG_DEBUG, "Adding file <"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user