aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-07-22 14:43:17 +0000
committerJörg Mayer <jmayer@loplof.de>2013-07-22 14:43:17 +0000
commitf833e8e59d6e04ad3f6adca61caa28df0f5e1db4 (patch)
treef02837a848b977b60c152e95f3c6ccd63789801a /wsutil
parentd5922fb41ff7816ed09bdd715c31e9f230ad352b (diff)
Looks like building with -Werror in wsutil was forgotten with
cmake. svn path=/trunk/; revision=50788
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt
index 85fe2a96f5..cce06d373f 100644
--- a/wsutil/CMakeLists.txt
+++ b/wsutil/CMakeLists.txt
@@ -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}
)