Merge pull request #918 from neheb/master

Add OpenCL support
This commit is contained in:
Daniel Marjamäki 2017-06-23 20:12:18 +02:00 committed by GitHub
commit 410844a2dc
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ bool Path::isC(const std::string &path)
{
// In unix, ".C" is considered C++ file
const std::string extension = getFilenameExtension(path);
return (extension == ".c");
return extension == ".c" ||
extension == ".cl";
}
bool Path::isCPP(const std::string &path)