Fix build on wasm
This commit is contained in:
@@ -345,7 +345,7 @@ if has_config("utility") then
|
|||||||
add_requires("ordered_map", "stb")
|
add_requires("ordered_map", "stb")
|
||||||
end
|
end
|
||||||
|
|
||||||
if has_config("vulkan") then
|
if has_config("vulkan") and not is_plat("wasm") then
|
||||||
add_requires("vulkan-headers", "vulkan-memory-allocator")
|
add_requires("vulkan-headers", "vulkan-memory-allocator")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user