diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 1dee2a2b3c..c47f931029 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -875,7 +875,7 @@ void cmComputeLinkInformation::ComputeItemParserInfo() reg += "|"; } reg += ")"; - reg += "([^/]*)"; + reg += "([^/:]*)"; // Create a regex to match any library name. std::string reg_any = reg;