aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Sowade2009-12-09 04:47:17 +0100
committerMax Howell2010-01-14 09:40:20 +0000
commit1d45abdaff8806d23f5059b410a3c9f4e80c6783 (patch)
tree619fa0575dc98de73457e0150c2f67dec44d90b9
parenta3e2d833a4a8e856118938430d4414109b2041ea (diff)
downloadhomebrew-1d45abdaff8806d23f5059b410a3c9f4e80c6783.tar.bz2
Added CMake parameter to suppress warnings
The -Wno-dev CMake parameter suppresses warnings meant for the developer, not the user.
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index e2a1ac2a2..963fec6d6 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -224,7 +224,7 @@ class Formula
# we could add --disable-dependency-tracking when it will work
def std_cmake_parameters
# The None part makes cmake use the environment's CFLAGS etc. settings
- "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None"
+ "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -Wno-dev"
end
def self.class_s name