Looks like building with -Werror in wsutil was forgotten with
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 22 Jul 2013 14:43:17 +0000 (14:43 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 22 Jul 2013 14:43:17 +0000 (14:43 +0000)
cmake.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@50788 f5534014-38df-0310-8fa8-9805f1628bb7

wsutil/CMakeLists.txt

index 85fe2a96f594005f2bd0d5d0e0c4d73926b526c6..cce06d373f99bfb5d3756ee9b4d5d1aefb003f21 100644 (file)
@@ -63,6 +63,18 @@ set(wsutil_LIBS
   ${GLIB2_LIBRARIES}
 )
 
+set(CLEAN_FILES
+  ${WSUTIL_FILES}
+)
+
+if (WERROR)
+  set_source_files_properties(
+    ${CLEAN_FILES}
+    PROPERTIES
+    COMPILE_FLAGS -Werror
+  )
+endif()
+
 add_library(wsutil ${LINK_MODE_LIB}
   ${WSUTIL_FILES}
 )