summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-04-11 16:46:02 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-04-11 16:46:02 (GMT)
commitec1f10aeafe258099e131b2166c69100a5a81b39 (patch)
treefaa534667bdf8dedfdc2997c143bebf80cd11e6c /src/CMakeLists.txt
parent7fc92e626b844dd9cc3c6a498ee20a72be84819b (diff)
downloadlibkolabxml-ec1f10aeafe258099e131b2166c69100a5a81b39.tar.gz
Fixed implicit number conversions. -Wconversion breaks boost_foreach.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 279b875..e4e28fc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,7 +9,7 @@ add_dependencies(kolabxml generate_bindings)
target_link_libraries(kolabxml ${XERCES_C} ${Boost_LIBRARIES} ${UUID})
# For the core library we can be stricter when compiling. This doesn't work with the auto generated code though.
-set_target_properties(kolabxml PROPERTIES COMPILE_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wl,--no-undefined")
+set_target_properties(kolabxml PROPERTIES COMPILE_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wconversion -Wl,--no-undefined")
set_target_properties(kolabxml PROPERTIES VERSION ${KOLABXML_VERSION} SOVERSION 0)
install(TARGETS kolabxml ${KOLAB_INSTALL_DIRECTORIES})