summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-02-21 09:19:08 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-02-21 09:19:08 (GMT)
commite89421cb5e1eab796c65931b8f65d8d0bdd0a8d5 (patch)
tree2dfc3ec1282ed6ad7d83eb1ed38c5352e1a22d30 /cmake
parent4f4fde60d75ac6c53f6f016a293196875b1f499b (diff)
downloadlibkolab-e89421cb5e1eab796c65931b8f65d8d0bdd0a8d5.tar.gz
silenced some warnings when building the bindings.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/SWIGUtils.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/SWIGUtils.cmake b/cmake/modules/SWIGUtils.cmake
index 05c1bb3..bb78348 100644
--- a/cmake/modules/SWIGUtils.cmake
+++ b/cmake/modules/SWIGUtils.cmake
@@ -23,6 +23,7 @@ macro (generatePHPBindings MODULE_NAME INTERFACE_FILE)
else()
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused" )
endif()
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-field-initializers -Wno-undef" )
find_package(PHP4 5.3 REQUIRED)