summaryrefslogtreecommitdiff
path: root/src/amd/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/meson.build')
-rw-r--r--src/amd/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/meson.build b/src/amd/meson.build
index 4a27c8c3e4a..463c78544ab 100644
--- a/src/amd/meson.build
+++ b/src/amd/meson.build
@@ -22,7 +22,11 @@ inc_amd = include_directories('.')
subdir('addrlib')
subdir('common')
-subdir('llvm')
+if with_llvm
+ subdir('llvm')
+else
+ libamd_common_llvm = []
+endif
if with_amd_vk
subdir('compiler')
subdir('vulkan')