Remove unused method

This commit is contained in:
Jack Nagel 2014-04-20 22:39:46 -05:00
parent c351a641de
commit bef9ec29ef

View File

@ -216,10 +216,6 @@ class Cmd
# NOTE this only counts if Homebrew is installed at /usr/local
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
end
def syscpath
isystem, _ = cpath
isystem + syspath.map{|d| "#{d}/include" }
end
def cpath
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})