forked from osmocom/wireshark
- Always build with GSEAL_ENABLE
- Enable the extra warnings only when building with GTK2 (but not GTK3 directly). svn path=/trunk/; revision=38239
This commit is contained in:
parent
0b68e60aaf
commit
a20662fe42
|
@ -231,6 +231,7 @@ add_definitions(
|
||||||
# struct fields so that you can go through them one by one and replace
|
# struct fields so that you can go through them one by one and replace
|
||||||
# them with a call to an accessor function instead.
|
# them with a call to an accessor function instead.
|
||||||
|
|
||||||
|
# Is enabled automatically when not building with GTK3 (see below).
|
||||||
# -DGSEAL_ENABLE
|
# -DGSEAL_ENABLE
|
||||||
|
|
||||||
# To verify that your program does not use any deprecated symbols,
|
# To verify that your program does not use any deprecated symbols,
|
||||||
|
@ -245,9 +246,19 @@ add_definitions(
|
||||||
if (UI_MANAGER)
|
if (UI_MANAGER)
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DMAIN_MENU_USE_UIMANAGER=1
|
-DMAIN_MENU_USE_UIMANAGER=1
|
||||||
-DGTK_DISABLE_DEPRECATED
|
)
|
||||||
|
if (NOT ENABLE_GTK3)
|
||||||
|
add_definitions(
|
||||||
|
-DGTK_DISABLE_DEPRECATED
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
if (NOT ENABLE_GTK3)
|
||||||
|
add_definitions(
|
||||||
|
-DGSEAL_ENABLE
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WANT_PACKET_EDITOR)
|
if (WANT_PACKET_EDITOR)
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DWANT_PACKET_EDITOR=1
|
-DWANT_PACKET_EDITOR=1
|
||||||
|
|
Loading…
Reference in New Issue