Commit 7ce47832 authored by Christian Hergert's avatar Christian Hergert

build: remove use of -I meson.build_root()

Fixes #33
parent 0314309c
#include "config.h"
#include <glib/gi18n.h>
#include "example-window.h"
......@@ -171,7 +169,7 @@ example_window_init (ExampleWindow *self)
G_CALLBACK (on_page_changed),
self);
dzl_shortcut_manager_add_shortcut_entries (NULL, shortcuts, G_N_ELEMENTS (shortcuts), GETTEXT_PACKAGE);
dzl_shortcut_manager_add_shortcut_entries (NULL, shortcuts, G_N_ELEMENTS (shortcuts), NULL);
controller = dzl_shortcut_controller_find (GTK_WIDGET (self));
......
......@@ -33,7 +33,6 @@ config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('lo
add_project_arguments([
'-DHAVE_CONFIG_H',
'-DDAZZLE_COMPILATION',
'-I' + meson.build_root(),
], language: 'c')
root_inc = include_directories('.')
......
......@@ -330,9 +330,10 @@ test_list_store_adapter = executable('test-list-store-adapter', 'test-list-store
test('test-list-store-adapter', test_list_store_adapter, env: test_env)
test_util = executable('test-util', ['test-util.c', '../src/util/dzl-util.c'],
c_args: test_cflags,
link_args: test_link_args,
dependencies: libdazzle_deps + [libdazzle_dep],
c_args: test_cflags,
link_args: test_link_args,
include_directories: [include_directories('.'), root_inc ],
Please register or sign in to reply
dependencies: libdazzle_deps + [libdazzle_dep],
)
test('test-util', test_util, env: test_env)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment