diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cmake.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index a58c8dcd5..c5e94022f 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -6,6 +6,16 @@ class Cmake <Formula homepage 'http://www.cmake.org/' def install + # A framework-installed expat will be detected and mess things up. + if File.exist? "/Library/Frameworks/expat.framework" + opoo "/Library/Frameworks/expat.framework detected" + puts <<-EOS.undent + This will be picked up by Cmake's build system and likey cause the + build to fail, trying to link to a 32-bit version of expat. + You may need to move this file out of the way for this brew to work. + EOS + end + # If we specify to CMake to use the system libraries by passing # --system-libs to bootstrap then it insists on finding them all # or erroring out, as that's what other Linux/OSX distributions |
