clc: Add clangASTMatchers to fix static llvm build of microsoft-clc with LLVM 16+
authorLone_Wolf <lone_wolf@klaas-de-kat.nl>
Thu, 27 Apr 2023 17:44:55 +0000 (19:44 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 23:06:42 +0000 (23:06 +0000)
Cc: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22741>

meson.build

index 24e42dd..2b6fb31 100644 (file)
@@ -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