meson.build: fix missing config.h include

Add include_directory arguments to the meson.build files in src and
tools so the config.h include can be found.

Fixes: #57
Signed-off-by: callmetango <callmetango@users.noreply.github.com>
This commit is contained in:
callmetango
2026-01-27 21:52:12 +00:00
committed by Enrico Weigelt
parent 497585a4e0
commit 1f236e69b8
2 changed files with 4 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ endif
shared_module('intel_drv',
sources : intel_drv_sources,
dependencies : intel_drv_deps,
include_directories: inc,
link_with : intel_drv_libs,
c_args : [
'-DMAJOR_IN_SYSMACROS',

View File

@@ -18,6 +18,7 @@ if with_tools
c_args : [
'-Wno-unused-parameter',
],
include_directories: inc,
install : true)
configure_file(input : 'intel-virtual-output.man',
@@ -54,6 +55,7 @@ if with_tools
c_args : [
'-Wno-unused-parameter',
],
include_directories: inc,
install : false)
endif
@@ -81,6 +83,7 @@ if with_backlight_helper
c_args : [
'-DMAJOR_IN_SYSMACROS',
],
include_directories: inc,
install : true)
polkit_config = configuration_data()