diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-04-10 10:32:11 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-04-10 11:06:11 +0200 |
commit | 802bbe87adc52daa92ddd963e498c6c5ab845bfc (patch) | |
tree | ed18d6d6f3ee68d954dbed2d8cdd8b9da951c29b /drivers/vulkan | |
parent | 74d432117239d07d497bea5368600acee5ef5af4 (diff) |
Fix extra warnings in Android build
Diffstat (limited to 'drivers/vulkan')
-rw-r--r-- | drivers/vulkan/SCsub | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/vulkan/SCsub b/drivers/vulkan/SCsub index 35c2d61530..91d0e42f80 100644 --- a/drivers/vulkan/SCsub +++ b/drivers/vulkan/SCsub @@ -14,6 +14,14 @@ if env["platform"] == "android": thirdparty_dir + "/layers/generated", ] env.Prepend(CPPPATH=thirdparty_includes) + + # Build Vulkan memory allocator + env_thirdparty = env.Clone() + env_thirdparty.disable_warnings() + + thirdparty_dir = "#thirdparty/vulkan" + vma_sources = [thirdparty_dir + "/android/vk_mem_alloc.cpp"] + env_thirdparty.add_source_files(env.drivers_sources, vma_sources) elif env["builtin_vulkan"]: # Use bundled Vulkan headers thirdparty_dir = "#thirdparty/vulkan" |