Remove unused method
This commit is contained in:
parent
c351a641de
commit
bef9ec29ef
@ -216,10 +216,6 @@ class Cmd
|
|||||||
# NOTE this only counts if Homebrew is installed at /usr/local
|
# NOTE this only counts if Homebrew is installed at /usr/local
|
||||||
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
|
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
|
||||||
end
|
end
|
||||||
def syscpath
|
|
||||||
isystem, _ = cpath
|
|
||||||
isystem + syspath.map{|d| "#{d}/include" }
|
|
||||||
end
|
|
||||||
def cpath
|
def cpath
|
||||||
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
|
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
|
||||||
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
|
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user