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 =
|
||||
cmSystemTools::RelativePath(InstallPrefix, fit->c_str());
|
||||
localFileName =
|
||||
localFileName.substr(localFileName.find('/')+1,
|
||||
localFileName.substr(localFileName.find_first_not_of('/'),
|
||||
std::string::npos);
|
||||
Components[installComponent].Files.push_back(localFileName);
|
||||
cmCPackLogger(cmCPackLog::LOG_DEBUG, "Adding file <"
|
||||
|
Loading…
x
Reference in New Issue
Block a user