Skip to content
Snippets Groups Projects
Commit d833df12 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'add-link-search-static-properties-defaults'

9e21b01a Revert LINK_SEARCH_{START,END}_STATIC behavior change
parents 02ab8e30 9e21b01a
No related branches found
No related tags found
No related merge requests found
......@@ -522,10 +522,9 @@ bool cmComputeLinkInformation::Compute()
// libraries are found.
const char* lss =
this->Target->Target->GetProperty("LINK_SEARCH_END_STATIC");
if(lss)
if(cmSystemTools::IsOn(lss))
{
this->SetCurrentLinkType(
cmSystemTools::IsOn(lss) ? LinkStatic : LinkShared);
this->SetCurrentLinkType(LinkStatic);
}
else
{
......@@ -863,8 +862,7 @@ void cmComputeLinkInformation::ComputeLinkTypeInfo()
const char* lss =
this->Target->Target->GetProperty("LINK_SEARCH_START_STATIC");
this->StartLinkType = cmSystemTools::IsOn(lss)? LinkStatic : LinkShared;
this->CurrentLinkType = LinkUnknown;
this->SetCurrentLinkType(this->StartLinkType);
this->CurrentLinkType = this->StartLinkType;
}
//----------------------------------------------------------------------------
......
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