Add GTK3_DEFINITIONS to the compiler flag when building with gtk3

svn path=/trunk/; revision=49038
This commit is contained in:
Jörg Mayer 2013-04-25 21:35:54 +00:00
parent 540b4d5f2d
commit 52965244cd
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ if (WERROR)
)
endif()
if (NOT ENABLE_GTK3)
if (ENABLE_GTK3)
add_definitions(${GTK3_DEFINITIONS})
else()
add_definitions(
# We are only allowed to include gtk/gtk.h, no other files. When
# violating this with gtk3 the compiler will complain anyway.