summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/manager/vcpkg/install_package.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua
index 27d4a1d65..cb7093943 100644
--- a/xmake/modules/package/manager/vcpkg/install_package.lua
+++ b/xmake/modules/package/manager/vcpkg/install_package.lua
@@ -82,6 +82,8 @@ function _install_for_manifest(vcpkg, name, opt)
local plat = opt.plat
if plat == "macosx" then
plat = "osx"
+ elseif plat == "bsd" then
+ plat = "freebsd"
end
arch = configurations.arch(arch)
local triplet = arch .. "-" .. plat