diff options
author | João Valverde <j@v6e.pt> | 2022-11-17 10:18:31 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2022-11-17 10:23:12 +0000 |
commit | cfbe898dcc54e302954afab3d09829797dbdb564 (patch) | |
tree | f92617b699271d6d44833edb4416f5b157f858be /plugins/epan | |
parent | 7efa4cb9a416bf8ef0422f173e850438a97ffe0b (diff) |
CMake: Disable -Werror for flex generated files
Diffstat (limited to 'plugins/epan')
-rw-r--r-- | plugins/epan/mate/CMakeLists.txt | 3 | ||||
-rw-r--r-- | plugins/epan/wimaxasncp/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/epan/mate/CMakeLists.txt b/plugins/epan/mate/CMakeLists.txt index b445e88b94..62b6c09048 100644 --- a/plugins/epan/mate/CMakeLists.txt +++ b/plugins/epan/mate/CMakeLists.txt @@ -37,7 +37,8 @@ set(PLUGIN_FILES ) set_source_files_properties( - ${PLUGIN_FILES} + ${DISSECTOR_SRC} + ${DISSECTOR_SUPPORT_SRC} PROPERTIES COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" ) diff --git a/plugins/epan/wimaxasncp/CMakeLists.txt b/plugins/epan/wimaxasncp/CMakeLists.txt index 8a35c6c566..4775ef9876 100644 --- a/plugins/epan/wimaxasncp/CMakeLists.txt +++ b/plugins/epan/wimaxasncp/CMakeLists.txt @@ -26,7 +26,7 @@ add_lex_files(LEX_FILES PLUGIN_FILES ) set_source_files_properties( - ${PLUGIN_FILES} + ${DISSECTOR_SRC} PROPERTIES COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" ) |