We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fb0b08 commit de96252Copy full SHA for de96252
xmake/modules/detect/sdks/find_vulkansdk.lua
@@ -30,7 +30,7 @@ import("lib.detect.find_package")
30
function _find_vulkan_from_paths(paths, opt)
31
opt = opt or {}
32
local arch = opt.arch or config.arch() or os.arch()
33
- local plat = opt.plat or config.get("plat") or os.host()
+ local plat = opt.plat or config.plat() or os.host()
34
local binsuffix = ((is_host("windows") and arch == "x86") and "bin32" or "bin")
35
local libname = (is_host("windows") and "vulkan-1" or "vulkan")
36
local libsuffix = ((is_host("windows") and arch == "x86") and "lib32" or "lib")
0 commit comments