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