mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00

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.
20 lines
434 B
Meson
20 lines
434 B
Meson
# Convenience library for the duplicated logging functionality
|
|
common_sources = [
|
|
'common-logging.c',
|
|
'common-governors.c',
|
|
'common-external.c',
|
|
'common-helpers.c',
|
|
'common-gpu.c',
|
|
]
|
|
|
|
daemon_common = static_library(
|
|
'daemon-common',
|
|
sources: common_sources,
|
|
install: false,
|
|
)
|
|
|
|
link_daemon_common = declare_dependency(
|
|
link_with: daemon_common,
|
|
include_directories: [include_directories('.')]
|
|
)
|