mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-04 22:57:21 +02:00
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.
This commit is contained in:
parent
b7dc1dc10c
commit
35fb7f5baf
@ -15,6 +15,5 @@ daemon_common = static_library(
|
||||
|
||||
link_daemon_common = declare_dependency(
|
||||
link_with: daemon_common,
|
||||
include_directories: [include_directories('.')]
|
||||
)
|
||||
|
||||
include_daemon_common = include_directories('.')
|
@ -26,7 +26,6 @@ executable(
|
||||
],
|
||||
include_directories: [
|
||||
gamemoded_includes,
|
||||
include_daemon_common,
|
||||
],
|
||||
install: true,
|
||||
)
|
@ -11,7 +11,6 @@ cpugovctl = executable(
|
||||
link_daemon_common,
|
||||
],
|
||||
install: true,
|
||||
include_directories: include_daemon_common,
|
||||
install_dir: path_libexecdir,
|
||||
)
|
||||
|
||||
@ -27,6 +26,5 @@ gpuclockctl = executable(
|
||||
link_daemon_common,
|
||||
],
|
||||
install: true,
|
||||
include_directories: include_daemon_common,
|
||||
install_dir: path_libexecdir,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user