GTK3 >= 3.10 will fail building if deprecation warnings are on.

Fix this for the cmake build by disabling these warnings.

svn path=/trunk/; revision=53459
This commit is contained in:
Jörg Mayer 2013-11-21 00:28:33 +00:00
parent 123caff957
commit 254614fe73
1 changed files with 4 additions and 1 deletions

View File

@ -217,7 +217,10 @@ if (WERROR)
endif()
if (ENABLE_GTK3)
add_definitions(${GTK3_DEFINITIONS})
add_definitions(
${GTK3_DEFINITIONS}
-DGDK_DISABLE_DEPRECATION_WARNINGS
)
else()
add_definitions(
# We are only allowed to include gtk/gtk.h, no other files. When