BUG: Fixed previous commit in cmExportFileGenerator to separate libraries correctly in the import link list.
This commit is contained in:
parent
109b5fc7a2
commit
0ac845b7da
|
@ -168,7 +168,6 @@ cmExportFileGenerator
|
||||||
std::vector<std::string> actual_libs;
|
std::vector<std::string> actual_libs;
|
||||||
cmTarget::LinkLibraryVectorType const& libs =
|
cmTarget::LinkLibraryVectorType const& libs =
|
||||||
target->GetOriginalLinkLibraries();
|
target->GetOriginalLinkLibraries();
|
||||||
const char* sep = "";
|
|
||||||
for(cmTarget::LinkLibraryVectorType::const_iterator li = libs.begin();
|
for(cmTarget::LinkLibraryVectorType::const_iterator li = libs.begin();
|
||||||
li != libs.end(); ++li)
|
li != libs.end(); ++li)
|
||||||
{
|
{
|
||||||
|
@ -207,6 +206,10 @@ cmExportFileGenerator
|
||||||
for(std::vector<std::string>::const_iterator li = libs.begin();
|
for(std::vector<std::string>::const_iterator li = libs.begin();
|
||||||
li != libs.end(); ++li)
|
li != libs.end(); ++li)
|
||||||
{
|
{
|
||||||
|
// Separate this from the previous entry.
|
||||||
|
link_libs += sep;
|
||||||
|
sep = ";";
|
||||||
|
|
||||||
// Append this entry.
|
// Append this entry.
|
||||||
if(cmTarget* tgt = mf->FindTargetToUse(li->c_str()))
|
if(cmTarget* tgt = mf->FindTargetToUse(li->c_str()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue