mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
BUG: When generating the install rules for CMake itself the per-configuration subdirectory must be used to specify the executable location.
This commit is contained in:
@@ -1324,6 +1324,11 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
|
||||
// We are building CMake itself. We cannot use the original
|
||||
// executable to install over itself.
|
||||
cmd = mf->GetDefinition("EXECUTABLE_OUTPUT_PATH");
|
||||
if(cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.')
|
||||
{
|
||||
cmd += "/";
|
||||
cmd += cmakeCfgIntDir;
|
||||
}
|
||||
cmd += "/cmake";
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user