Don't process header files installed by Homebrew

Added /usr/local/Cellar to ICG's list of system header locations.

refs #181
This commit is contained in:
Alex Lin 2016-02-11 09:33:53 -06:00
parent 2661835797
commit 3b6adb01d0

View File

@ -92,6 +92,9 @@ void HeaderSearchDirs::AddCompilerBuiltInSearchDirs () {
}
pclose(fp) ;
// Homebrew on Macs puts everything in /usr/local/Cellar.
hso.AddPath("/usr/local/Cellar" , clang::frontend::System, IsFramework, IsSysRootRelative);
}
void HeaderSearchDirs::AddUserSearchDirs ( std::vector<std::string> & include_dirs ) {