ENH: Fix bug in cmake install when exec/librayr output path not defined. Closes Bug #899 - subdir INSTALL_TARGETS INSTALL_PROGRAMS dont work
This commit is contained in:
parent
c56547a3f9
commit
b97ad900c0
|
@ -127,6 +127,16 @@ void cmLocalGenerator::GenerateInstallRules()
|
|||
}
|
||||
}
|
||||
}
|
||||
if ( libOutPath.size() == 0 )
|
||||
{
|
||||
// LIBRARY_OUTPUT_PATH not defined
|
||||
libOutPath = currdir + "/";
|
||||
}
|
||||
if ( exeOutPath.size() == 0 )
|
||||
{
|
||||
// EXECUTABLE_OUTPUT_PATH not defined
|
||||
exeOutPath = currdir + "/";
|
||||
}
|
||||
|
||||
std::string destination;
|
||||
for(cmTargets::const_iterator l = tgts.begin();
|
||||
|
|
Loading…
Reference in New Issue