diff options
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r-- | Source/cmTargetLinkLibrariesCommand.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx index 9add198..6b6fe4c 100644 --- a/Source/cmTargetLinkLibrariesCommand.cxx +++ b/Source/cmTargetLinkLibrariesCommand.cxx @@ -384,8 +384,13 @@ cmTargetLinkLibrariesCommand::HandleLibrary(const char* lib, } } - // Handle normal case first. - if(this->CurrentProcessingState != ProcessingKeywordLinkInterface + if(this->CurrentProcessingState == ProcessingLinkLibraries + && !this->Target->GetProperty("LINK_INTERFACE_LIBRARIES")) + { + this->Makefile + ->AddLinkLibraryForTarget(this->Target->GetName(), lib, llt); + } + else if(this->CurrentProcessingState != ProcessingKeywordLinkInterface && this->CurrentProcessingState != ProcessingPlainLinkInterface) { this->Makefile |