forked from osmocom/wireshark
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:
parent
123caff957
commit
254614fe73
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue