If we aren't adding -Werror, just set it to a null string, so when we
fetch it to add the SSE 4.2 flag to it for ws_mempbrk_sse42.c, it
doesn't fail.
Change-Id: I53858130c025e094ed8d0d975451961506fb1a39
Reviewed-on: https://code.wireshark.org/review/6704
Reviewed-by: Guy Harris <guy@alum.mit.edu>
PROPERTIES
COMPILE_FLAGS -Werror
)
+else()
+ #
+ # Set the property to an empty string, so that if we try
+ # to get it below, it succeeds.
+ #
+ set_source_files_properties(
+ ${CLEAN_FILES}
+ PROPERTIES
+ COMPILE_FLAGS ""
+ )
endif()
if (HAVE_SSE4_2)
get_source_file_property(