Commit 99a9c51f authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmTarget: Use GetSourceFiles for languages.

parent beaa7e03
......@@ -4844,8 +4844,10 @@ bool cmTarget::IsLinkInterfaceDependentNumberMaxProperty(const std::string &p,
void cmTarget::GetLanguages(std::set<std::string>& languages) const
std::vector<cmSourceFile*> sourceFiles;
i = this->SourceFiles.begin(); i != this->SourceFiles.end(); ++i)
i = sourceFiles.begin(); i != sourceFiles.end(); ++i)
const std::string& lang = (*i)->GetLanguage();
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