Merge topic 'fix-CPACK_INSTALL_CMAKE_PROJECTS-subdirectory'
26fdd9c3
CPack: Fix CPACK_INSTALL_CMAKE_PROJECTS SubDirectory (4th) option
This commit is contained in:
commit
3e3a12a4ab
|
@ -723,10 +723,9 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
|
|||
cmGlobalGenerator gg(&cm);
|
||||
cmsys::auto_ptr<cmMakefile> mf(
|
||||
new cmMakefile(&gg, cm.GetCurrentSnapshot()));
|
||||
std::string realInstallDirectory = tempInstallDirectory;
|
||||
if ( !installSubDirectory.empty() && installSubDirectory != "/" )
|
||||
{
|
||||
realInstallDirectory += installSubDirectory;
|
||||
tempInstallDirectory += installSubDirectory;
|
||||
}
|
||||
if (componentInstall)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue