summaryrefslogtreecommitdiff
path: root/test cases/d
diff options
context:
space:
mode:
authorAndrew McNulty <amcn102@gmail.com>2024-09-07 10:26:08 +0100
committerDylan Baker <dylan@pnwbakers.com>2024-09-11 15:45:16 -0700
commit3aedec5b34c586b9c3a16be17d2fda353bf5fff1 (patch)
tree974725134354c7262393134435fcdf4fcb519b6a /test cases/d
parent8a641cac5f7fd01c5e213c170c1babc18088369d (diff)
downloadmeson-3aedec5b34c586b9c3a16be17d2fda353bf5fff1.tar.gz
Harmonize d_import_dirs and include_directories behavior.
This commit harmonizes the handling of `d_import_dirs` and `include_directories`. The treatment of `d_import_dirs` was also different depending on the context: in `declare_dependency` it was treated like the `include_directories`, but in `build_target` et al, it had special treatment. With this commit, they are all treated by the same function. The documentation has been updated to reflect this. Fixes #12742
Diffstat (limited to 'test cases/d')
-rw-r--r--test cases/d/9 features/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/d/9 features/meson.build b/test cases/d/9 features/meson.build
index 50059f169..065ef3a6d 100644
--- a/test cases/d/9 features/meson.build
+++ b/test cases/d/9 features/meson.build
@@ -1,4 +1,4 @@
-project('D Features', 'd', default_options : ['debug=false'])
+project('D Features', 'd', meson_version: '>=1.6', default_options : ['debug=false'])
dc = meson.get_compiler('d')