aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-02-26 09:52:23 -0500
committerDavid Robillard <d@drobilla.net>2025-03-16 20:22:36 -0400
commit15e147cdca733bd6ebc7d206149645171b571ca8 (patch)
treed78e9b3cdaddf81b1fdde4e2ecbb8146607d1256
parent365397d3a1dd95aa7bfdc8d70983c390aa309d17 (diff)
downloadserd-15e147cdca733bd6ebc7d206149645171b571ca8.tar.gz
serd-15e147cdca733bd6ebc7d206149645171b571ca8.tar.bz2
serd-15e147cdca733bd6ebc7d206149645171b571ca8.zip
Disable meson implicit include directories anti-feature
-rw-r--r--meson.build2
-rw-r--r--test/headers/meson.build1
-rw-r--r--test/meson.build1
3 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index f090f955..6406deb1 100644
--- a/meson.build
+++ b/meson.build
@@ -223,6 +223,7 @@ libserd = library(
darwin_versions: [major_version + '.0.0', meson.project_version()],
dependencies: m_dep,
gnu_symbol_visibility: 'hidden',
+ implicit_include_directories: false,
include_directories: include_dirs,
install: true,
soversion: soversion,
@@ -269,6 +270,7 @@ if not get_option('tools').disabled()
files('src/serdi.c'),
c_args: c_suppressions + platform_c_args,
dependencies: serd_dep,
+ implicit_include_directories: false,
install: true,
link_args: tool_link_args,
)
diff --git a/test/headers/meson.build b/test/headers/meson.build
index 6cb14f6e..b9125d2b 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -38,6 +38,7 @@ test(
files('test_headers.c'),
c_args: header_c_suppressions,
dependencies: serd_dep,
+ implicit_include_directories: false,
),
suite: 'unit',
)
diff --git a/test/meson.build b/test/meson.build
index db88fa61..223e279d 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -37,6 +37,7 @@ foreach name : unit_test_names
source,
c_args: c_suppressions,
dependencies: serd_dep,
+ implicit_include_directories: false,
),
suite: 'unit',
)