mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
Merge topic 'compat-CPACK_INSTALL_CMAKE_PROJECTS-subdirectory'
57534990 CPack: Add compatibility for incorrect CPACK_INSTALL_CMAKE_PROJECTS value
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user