meson: testsuite: gdk: need to dep on gtk

Almost all of these tests include gtk/gtk.h so we need
to dep on libgtk not just libgdk. Otherwise compilation
fails because graphene.h include can't be found.
This commit is contained in:
Tim-Philipp Müller 2017-03-11 22:02:49 +00:00 committed by Emmanuele Bassi
parent 75fd87ce61
commit e675675b78

View File

@ -1,24 +1,24 @@
test_cairo = executable('cairo', 'cairo.c', dependencies: libgdk_dep)
# FIXME: use array + foreach
test_cairo = executable('cairo', 'cairo.c', dependencies: libgtk_dep)
test('gdk/cairo', test_cairo)
test_display = executable('display', 'display.c', dependencies: libgdk_dep)
test_cursor = executable('cursor', 'cursor.c', dependencies: libgtk_dep)
test('gdk/cursor', test_cursor)
test_display = executable('display', 'display.c', dependencies: libgtk_dep)
test('gdk/display', test_display)
test_encoding = executable('encoding', 'encoding.c', dependencies: libgdk_dep)
test_encoding = executable('encoding', 'encoding.c', dependencies: libgtk_dep)
test('gdk/encoding', test_encoding)
test_keysyms = executable('keysyms', 'keysyms.c', dependencies: libgdk_dep)
test_keysyms = executable('keysyms', 'keysyms.c', dependencies: libgtk_dep)
test('gdk/keysyms', test_keysyms)
test_rectangle = executable('rectangle', 'rectangle.c', dependencies: libgdk_dep)
test_rectangle = executable('rectangle', 'rectangle.c', dependencies: libgtk_dep)
test('gdk/rectangle', test_rectangle)
test_rgba = executable('rgba', 'rgba.c', dependencies: libgdk_dep)
test('gdk/rgba', test_rgba)
test_seat = executable('seat', 'seat.c', dependencies: libgdk_dep)
test_seat = executable('seat', 'seat.c', dependencies: libgtk_dep)
test('gdk/seat', test_seat)
test_visual = executable('visual', 'visual.c', dependencies: libgdk_dep)
test('gdk/visual', test_visual)