diff options
| author | ruki <[email protected]> | 2018-09-19 22:57:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-19 11:47:11 +0800 |
| commit | 0fadfe24d1a42bc7a969fcaa49a3f2a1767c85d1 (patch) | |
| tree | b21b9022fd48fd2c57cac476b78bf37de5ee4970 /xmake/modules | |
| parent | 4ee805906a0dcf442a80e0bb072c538622bd2a32 (diff) | |
improve to find_package to find prefix directory
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/lib/detect/vcpkg.lua | 2 |
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 |
