Added CMake parameter to suppress warnings
The -Wno-dev CMake parameter suppresses warnings meant for the developer, not the user.
This commit is contained in:
parent
5193d835a4
commit
fa2162ef62
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user