From 9caaff28984477d1ae76420e6ee13fd7f3ca0a01 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Mon, 22 Jan 2024 21:02:02 +0100 Subject: [PATCH] Fix build on wasm --- xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index ea931d6bc..1f4d4bd39 100644 --- a/xmake.lua +++ b/xmake.lua @@ -345,7 +345,7 @@ if has_config("utility") then add_requires("ordered_map", "stb") end -if has_config("vulkan") then +if has_config("vulkan") and not is_plat("wasm") then add_requires("vulkan-headers", "vulkan-memory-allocator") end