mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 13:10:17 -06:00
CPack: Fix CPACK_INSTALL_CMAKE_PROJECTS SubDirectory (4th) option
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user