Skip to content
Snippets Groups Projects
Commit b97ad900 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Fix bug in cmake install when exec/librayr output path not defined....

ENH: Fix bug in cmake install when exec/librayr output path not defined. Closes Bug #899 - subdir INSTALL_TARGETS INSTALL_PROGRAMS dont work
parent c56547a3
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment