diff options
-rw-r--r-- | build_files/cmake/macros.cmake | 1 | ||||
-rw-r--r-- | extern/lzo/CMakeLists.txt | 2 |
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 ) |