Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-03-06 09:47:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-03-06 09:47:23 +0300
commitd17e6c10df6c9ce8c7140691fc6fec4da97613dd (patch)
tree7b10fda2453f69860fa1a5aee7d1099fee76e593
parent2f21dbf38baec8b233e59523272f9aeaab3ef9d0 (diff)
Cleanup: quiet minilzo warnings
-rw-r--r--build_files/cmake/macros.cmake1
-rw-r--r--extern/lzo/CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 94a8aa2823f..33c764402a2 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 5172a96e599..23bbf268cc6 100644
--- a/extern/lzo/CMakeLists.txt
+++ b/extern/lzo/CMakeLists.txt
@@ -23,6 +23,8 @@
#
# ***** END GPL LICENSE BLOCK *****
+remove_strict_flags()
+
set(INC
)