summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLone_Wolf <lone_wolf@klaas-de-kat.nl>2023-04-27 19:44:55 +0200
committerMarge Bot <emma+marge@anholt.net>2023-04-27 23:06:42 +0000
commitd09a7132d8162ffa14fdbf71feea2a19b0158097 (patch)
treea12d688f4343380cd22b40e150b7a22565ccf49c
parentf53e5efad7eb5e5cfcc5cf21da4b5393628d2ed4 (diff)
downloadmesa-d09a7132d8162ffa14fdbf71feea2a19b0158097.tar.gz
clc: Add clangASTMatchers to fix static llvm build of microsoft-clc with LLVM 16+
Cc: mesa-stable Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22741>
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 24e42dd1978..2b6fb31a34c 100644
--- a/meson.build
+++ b/meson.build
@@ -1765,6 +1765,9 @@ if with_clc
if dep_llvm.version().version_compare('>= 15.0')
clang_modules += 'clangSupport'
endif
+ if dep_llvm.version().version_compare('>= 16.0')
+ clang_modules += 'clangASTMatchers'
+ endif
dep_clang = []
foreach m : clang_modules