[Bf-blender-cvs] [7acf48d] gooseberry: Cleanup: quiet minilzo warnings
Campbell Barton
noreply at git.blender.org
Fri Mar 6 17:24:41 CET 2015
Commit: 7acf48d2fe85295f6ad25c1f25ae6211955dc88c
Author: Campbell Barton
Date: Fri Mar 6 17:47:23 2015 +1100
Branches: gooseberry
https://developer.blender.org/rB7acf48d2fe85295f6ad25c1f25ae6211955dc88c
Cleanup: quiet minilzo warnings
===================================================================
M build_files/cmake/macros.cmake
M extern/lzo/CMakeLists.txt
===================================================================
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 94a8aa2..33c7644 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -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")
diff --git a/extern/lzo/CMakeLists.txt b/extern/lzo/CMakeLists.txt
index 5172a96..23bbf26 100644
--- a/extern/lzo/CMakeLists.txt
+++ b/extern/lzo/CMakeLists.txt
@@ -23,6 +23,8 @@
#
# ***** END GPL LICENSE BLOCK *****
+remove_strict_flags()
+
set(INC
)
More information about the Bf-blender-cvs
mailing list