aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFlorian Sowade2009-12-09 04:47:17 +0100
committerMax Howell2010-01-14 09:40:20 +0000
commitfa2162ef6259ea0ceed22c02caea753acda291a8 (patch)
treef53a1348bb5c4c8bea14b618aad46c64788a6475 /Library
parent5193d835a443d6901bb28cbe451aaa0c08e299e7 (diff)
downloadbrew-fa2162ef6259ea0ceed22c02caea753acda291a8.tar.bz2
Added CMake parameter to suppress warnings
The -Wno-dev CMake parameter suppresses warnings meant for the developer, not the user.
Diffstat (limited to 'Library')
-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