diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_vulkansdk.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vulkansdk.lua b/xmake/modules/detect/sdks/find_vulkansdk.lua index 3f138d969..04bc59912 100644 --- a/xmake/modules/detect/sdks/find_vulkansdk.lua +++ b/xmake/modules/detect/sdks/find_vulkansdk.lua @@ -30,7 +30,7 @@ import("lib.detect.find_package") function _find_vulkan_from_paths(paths, opt) opt = opt or {} local arch = opt.arch or config.arch() or os.arch() - local plat = opt.plat or config.get("plat") or os.host() + local plat = opt.plat or config.plat() or os.host() local binsuffix = ((is_host("windows") and arch == "x86") and "bin32" or "bin") local libname = (is_host("windows") and "vulkan-1" or "vulkan") local libsuffix = ((is_host("windows") and arch == "x86") and "lib32" or "lib") |
