summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-01-20 19:34:07 -0500
committerDavid Robillard <d@drobilla.net>2025-01-20 19:35:25 -0500
commit9f56463f38633ba89a5b22151f3aa529a7603a50 (patch)
tree77f09dd610c8d6c43f30010e4493a6b51a0e0114
parent2cb4c31220660994310054f736227a6ae1d692cd (diff)
downloadingen-9f56463f38633ba89a5b22151f3aa529a7603a50.tar.gz
ingen-9f56463f38633ba89a5b22151f3aa529a7603a50.tar.bz2
ingen-9f56463f38633ba89a5b22151f3aa529a7603a50.zip
Use "system" include type for all dependencies
Things get confused when these flags differ across projects, so universally use "system" for external dependencies.
-rw-r--r--meson.build4
-rw-r--r--src/.clang-tidy1
-rw-r--r--src/gui/meson.build1
3 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index f7aa186d..09b9a0f0 100644
--- a/meson.build
+++ b/meson.build
@@ -219,6 +219,7 @@ thread_dep = dependency('threads')
serd_dep = dependency(
'serd-0',
fallback: ['serd', 'serd_dep'],
+ include_type: 'system',
version: '>= 0.30.4',
)
@@ -232,12 +233,14 @@ sord_dep = dependency(
sratom_dep = dependency(
'sratom-0',
fallback: ['sratom', 'sratom_dep'],
+ include_type: 'system',
version: '>= 0.6.0',
)
suil_dep = dependency(
'suil-0',
fallback: ['suil', 'suil_dep'],
+ include_type: 'system',
version: '>= 0.10.0',
)
@@ -251,6 +254,7 @@ lv2_dep = dependency(
lilv_dep = dependency(
'lilv-0',
fallback: ['lilv', 'lilv_dep'],
+ include_type: 'system',
version: '>= 0.24.21',
)
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 1d7809c3..c6080d72 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -1,5 +1,6 @@
Checks: >
-*-avoid-c-arrays,
+ -*-macro-to-enum,
-*-vararg,
-android-cloexec-*,
-bugprone-easily-swappable-parameters,
diff --git a/src/gui/meson.build b/src/gui/meson.build
index 3b9a7bb6..266c8abb 100644
--- a/src/gui/meson.build
+++ b/src/gui/meson.build
@@ -31,6 +31,7 @@ gtkmm_dep = dependency(
ganv_dep = dependency(
'ganv-1',
fallback: ['ganv', 'ganv_dep'],
+ include_type: 'system',
required: get_option('gui'),
version: '>= 1.5.2',
)