summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/lib/detect')
-rw-r--r--xmake/modules/lib/detect/vcpkg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/vcpkg.lua b/xmake/modules/lib/detect/vcpkg.lua
index 156b9f7a9..02b7ac6fe 100644
--- a/xmake/modules/lib/detect/vcpkg.lua
+++ b/xmake/modules/lib/detect/vcpkg.lua
@@ -74,7 +74,7 @@ function info(name, opt)
local infodir = path.join(installdir, "vcpkg", "info")
-- find the package info file, .e.g zlib_1.2.11-3_x86-windows.list
- local infofile = find_file(vformat("%s_*_%s-%s.list", name, arch, plat), infodir)
+ local infofile = find_file(format("%s_*_%s-%s.list", name, arch, plat), infodir)
-- save includedirs, linkdirs and links
local info = infofile and io.readfile(infofile) or nil