summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoeffn <[email protected]>2022-09-03 16:20:14 +0200
committernoeffn <[email protected]>2022-09-03 16:20:14 +0200
commitb65703e6b570c00629f8f2431ca329c286290c9c (patch)
tree4dcdd0cff68942d758c5c3311dd9d0b5249417dd
parent0a524bac87c80e6401caa560f4c0bf8bc16d560a (diff)
fixes whitespaces
-rw-r--r--xmake/modules/package/manager/vcpkg/find_package.lua2
-rw-r--r--xmake/modules/package/manager/vcpkg/install_package.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua
index 0dc95bd0f..25893c2f3 100644
--- a/xmake/modules/package/manager/vcpkg/find_package.lua
+++ b/xmake/modules/package/manager/vcpkg/find_package.lua
@@ -75,7 +75,7 @@ function _find_package(vcpkgdir, name, opt)
local mode = opt.mode
plat = configurations.plat(plat)
- arch = configurations.arch(arch)
+ arch = configurations.arch(arch)
-- get the vcpkg info directories
local infodirs = {}
diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua
index 3fdff9bca..13d9809de 100644
--- a/xmake/modules/package/manager/vcpkg/install_package.lua
+++ b/xmake/modules/package/manager/vcpkg/install_package.lua
@@ -48,7 +48,7 @@ function _install_for_classic(vcpkg, name, opt)
local plat = opt.plat
local mode = opt.mode
plat = configurations.plat(plat)
- arch = configurations.arch(arch)
+ arch = configurations.arch(arch)
-- init triplet
local triplet = arch .. "-" .. plat
@@ -79,7 +79,7 @@ function _install_for_manifest(vcpkg, name, opt)
local arch = opt.arch
local plat = opt.plat
plat = configurations.plat(plat)
- arch = configurations.arch(arch)
+ arch = configurations.arch(arch)
local triplet = arch .. "-" .. plat
if opt.plat == "windows" and configs.shared ~= true then
triplet = triplet .. "-static"