Skip to content

Commit de96252

Browse files
authored
Update find_vulkansdk.lua
1 parent 7fb0b08 commit de96252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/detect/sdks/find_vulkansdk.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import("lib.detect.find_package")
3030
function _find_vulkan_from_paths(paths, opt)
3131
opt = opt or {}
3232
local arch = opt.arch or config.arch() or os.arch()
33-
local plat = opt.plat or config.get("plat") or os.host()
33+
local plat = opt.plat or config.plat() or os.host()
3434
local binsuffix = ((is_host("windows") and arch == "x86") and "bin32" or "bin")
3535
local libname = (is_host("windows") and "vulkan-1" or "vulkan")
3636
local libsuffix = ((is_host("windows") and arch == "x86") and "lib32" or "lib")

0 commit comments

Comments
 (0)