diff options
Diffstat (limited to 'extern/lzma/CMakeLists.txt')
-rw-r--r-- | extern/lzma/CMakeLists.txt | 7 |
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 . ) |