Cleanup: quiet minilzo warnings
authorCampbell Barton <ideasman42@gmail.com>
Fri, 6 Mar 2015 06:47:23 +0000 (17:47 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 6 Mar 2015 06:47:23 +0000 (17:47 +1100)
build_files/cmake/macros.cmake
extern/lzo/CMakeLists.txt

index 94a8aa2823fc7e352c35371505009ee647aae573..33c764402a222e7c657450d0ac835110890c7c7c 100644 (file)
@@ -925,6 +925,7 @@ macro(remove_strict_flags)
                remove_cc_flag("-Wstrict-prototypes")
                remove_cc_flag("-Wmissing-prototypes")
                remove_cc_flag("-Wunused-parameter")
+               remove_cc_flag("-Wunused-macros")
                remove_cc_flag("-Wwrite-strings")
                remove_cc_flag("-Wredundant-decls")
                remove_cc_flag("-Wundef")
index 5172a96e599d2b5bc9a319e4bb5f2c5878f3d7d8..23bbf268cc6c023ba7392e301f843f7fa91e06b9 100644 (file)
@@ -23,6 +23,8 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
+remove_strict_flags()
+
 set(INC
 
 )