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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-26 12:20:52 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-26 12:27:04 +0300
commit27787549256410b6b2de1eca47a2719830af7f96 (patch)
tree23f3209a056b3d04365096ba7095201f601a6edd /extern/lzma
parentfd52dc58ddea642b7162b01538c0c6c48abb0507 (diff)
Cleanp: fix compiler warnings
Diffstat (limited to 'extern/lzma')
-rw-r--r--extern/lzma/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/extern/lzma/CMakeLists.txt b/extern/lzma/CMakeLists.txt
index 8bdddf0aced..d76b418fd74 100644
--- a/extern/lzma/CMakeLists.txt
+++ b/extern/lzma/CMakeLists.txt
@@ -18,6 +18,13 @@
# All rights reserved.
# ***** END GPL LICENSE BLOCK *****
+# avoid noisy warnings
+if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
+ add_c_flag(
+ "-Wno-self-assign"
+ )
+endif()
+
set(INC
.
)