diff options
Diffstat (limited to 'epan/dissectors/CMakeLists.txt')
-rw-r--r-- | epan/dissectors/CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/epan/dissectors/CMakeLists.txt b/epan/dissectors/CMakeLists.txt index 43a1ae23d7..c7f86c983a 100644 --- a/epan/dissectors/CMakeLists.txt +++ b/epan/dissectors/CMakeLists.txt @@ -1452,13 +1452,11 @@ set(CLEAN_FILES ${DISSECTOR_SUPPORT_SRC} ) -if(WERROR_COMMON_FLAGS) - set_source_files_properties( - ${CLEAN_FILES} - PROPERTIES - COMPILE_FLAGS ${WERROR_COMMON_FLAGS} - ) -endif() +set_source_files_properties( + ${CLEAN_FILES} + PROPERTIES + COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" +) add_library(dissectors OBJECT ${DISSECTOR_FILES} |