brew doctor: warn about Mono and CMake

This commit is contained in:
Adam Vandenberg 2011-05-12 07:24:10 -07:00
parent f4cd85aa49
commit 8fea11e764

View File

@ -637,6 +637,16 @@ def check_for_other_frameworks
EOS EOS
end end
end end
if File.exist? "/Library/Frameworks/Mono.framework"
puts <<-EOS.undent
/Library/Frameworks/Mono.framework detected
This can be picked up by Cmake's build system and likey cause the
build to fail, finding improper header files for libpng for instance.
EOS
end
end end
module Homebrew extend self module Homebrew extend self