summaryrefslogtreecommitdiff
path: root/plugins/mate
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mate')
-rw-r--r--plugins/mate/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mate/CMakeLists.txt b/plugins/mate/CMakeLists.txt
index 9e8e54d549..666dd1b240 100644
--- a/plugins/mate/CMakeLists.txt
+++ b/plugins/mate/CMakeLists.txt
@@ -60,11 +60,11 @@ set(CLEAN_FILES
${DISSECTOR_SUPPORT_CLEAN_SRC}
)
-if (WERROR)
+if (WERROR_COMMON_FLAGS)
set_source_files_properties(
${CLEAN_FILES}
PROPERTIES
- COMPILE_FLAGS -Werror
+ COMPILE_FLAGS ${WERROR_COMMON_FLAGS}
)
endif()