gamemode/daemon/meson.build
Christian Kellner 35fb7f5baf meson: include dir in daemon_common dependency
Specify the include directory in the link_daemon_common dependency
and thus everything that includes that as a dependency will get
the proper include directory automatically.
2019-10-18 13:19:30 +02:00

31 lines
602 B
Meson

# Main daemon
daemon_sources = [
'gamemoded.c',
'gamemode-context.c',
'gamemode-ioprio.c',
'gamemode-sched.c',
'gamemode-wine.c',
'gamemode-tests.c',
'gamemode-gpu.c',
'gamemode-dbus.c',
'gamemode-config.c',
]
gamemoded_includes = libgamemode_includes
gamemoded_includes += config_h_dir
executable(
'gamemoded',
sources: daemon_sources,
dependencies: [
link_daemon_common,
dep_threads,
dep_systemd,
inih_dependency,
libdl,
],
include_directories: [
gamemoded_includes,
],
install: true,
)