|
|
@@ -626,7 +626,8 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
|
|
|
cmGlobalGenerator gg(&cm);
|
|
|
CM_AUTO_PTR<cmMakefile> mf(
|
|
|
new cmMakefile(&gg, cm.GetCurrentSnapshot()));
|
|
|
- if (!installSubDirectory.empty() && installSubDirectory != "/") {
|
|
|
+ if (!installSubDirectory.empty() && installSubDirectory != "/" &&
|
|
|
+ installSubDirectory != ".") {
|
|
|
tempInstallDirectory += installSubDirectory;
|
|
|
}
|
|
|
if (componentInstall) {
|