Commit 44f696f8 authored by Brad King's avatar Brad King 💬
Browse files

BUG: cmComputeLinkInformation::CheckImplicitDirItem needs to extract the...

BUG: cmComputeLinkInformation::CheckImplicitDirItem needs to extract the filename portion of the link item to test against the library regex.
parent 1f71ee64
......@@ -1074,7 +1074,8 @@ bool cmComputeLinkInformation::CheckImplicitDirItem(std::string const& item)
// Only apply the policy below if the library file is one that can
// be found by the linker.
std::string file = cmSystemTools::GetFilenameName(item);
return false;
......@@ -1085,7 +1086,6 @@ bool cmComputeLinkInformation::CheckImplicitDirItem(std::string const& item)
// directory then just report the file name without the directory
// portion. This will allow the system linker to locate the proper
// library for the architecture at link time.
std::string file = cmSystemTools::GetFilenameName(item);
return true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment