aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-05-29 16:58:32 -0700
committerCharlie Sharpsteen2012-06-03 10:03:56 -0700
commitd1a48063906ed63cbdf1f014b6090cbbdcfedd97 (patch)
treef0ae5ad2debaeaaf4f89eb38930edfae2d571779 /Library/Homebrew/compat
parent65bea86ae9df1b58d88ad32e7338b1d1c8ca4e0e (diff)
downloadbrew-d1a48063906ed63cbdf1f014b6090cbbdcfedd97.tar.bz2
std_cmake_args: Search for Frameworks last
Most Homebrew builds produce libraries, so CMake should give priority to libraries when resolving dependencies. Closes Homebrew/homebrew#12497. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/compatibility.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb
index 1dcb52cb4..45222cf82 100644
--- a/Library/Homebrew/compat/compatibility.rb
+++ b/Library/Homebrew/compat/compatibility.rb
@@ -89,7 +89,7 @@ class Formula
end
def std_cmake_parameters
- "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -Wno-dev"
+ "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev"
end
end