Fix build on wasm
This commit is contained in:
parent
639f6708b0
commit
9caaff2898
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue