From e675675b78bf88d4bfa8721e62b625b701c150d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 11 Mar 2017 22:02:49 +0000 Subject: [PATCH] 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. --- testsuite/gdk/meson.build | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/testsuite/gdk/meson.build b/testsuite/gdk/meson.build index 6c33c5e165..6c85e75b93 100644 --- a/testsuite/gdk/meson.build +++ b/testsuite/gdk/meson.build @@ -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)