|
|
@@ -990,11 +990,6 @@ void cmComputeLinkInformation::AddTargetItem(std::string const& item,
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- // If this platform wants a flag before the full path, add it.
|
|
|
- if (!this->LibLinkFileFlag.empty()) {
|
|
|
- this->Items.emplace_back(this->LibLinkFileFlag, false);
|
|
|
- }
|
|
|
-
|
|
|
// For compatibility with CMake 2.4 include the item's directory in
|
|
|
// the linker search path.
|
|
|
if (this->OldLinkDirMode && !target->IsFrameworkOnApple() &&
|
|
|
@@ -1057,11 +1052,6 @@ void cmComputeLinkInformation::AddFullItem(std::string const& item)
|
|
|
this->OldLinkDirItems.push_back(item);
|
|
|
}
|
|
|
|
|
|
- // If this platform wants a flag before the full path, add it.
|
|
|
- if (!this->LibLinkFileFlag.empty()) {
|
|
|
- this->Items.emplace_back(this->LibLinkFileFlag, false);
|
|
|
- }
|
|
|
-
|
|
|
// Now add the full path to the library.
|
|
|
this->Items.emplace_back(item, true);
|
|
|
}
|