summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-07-15 00:38:07 +0800
committerruki <[email protected]>2020-07-14 21:48:43 +0800
commit648b495eb4d94d3f2908eff3eff47286a807b303 (patch)
treea2ffb354a5f36644aeb8e0c8271f0e1131e1f0f3
parent749f61dd839ad30db6bc820374752d7c7f655172 (diff)
add vcpkg config option
-rw-r--r--xmake/platforms/linux/xmake.lua4
-rw-r--r--xmake/platforms/macosx/xmake.lua4
2 files changed, 8 insertions, 0 deletions
diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua
index 0d5e433d7..ba45997bf 100644
--- a/xmake/platforms/linux/xmake.lua
+++ b/xmake/platforms/linux/xmake.lua
@@ -61,6 +61,8 @@ platform("linux")
, {category = "Qt SDK Configuration" }
, {nil, "qt", "kv", "auto", "The Qt SDK Directory" }
, {nil, "qt_sdkver", "kv", "auto", "The Qt SDK Version" }
+ , {category = "Vcpkg Configuration" }
+ , {nil, "vcpkg", "kv", "auto", "The Vcpkg Directory" }
}
, global =
@@ -69,6 +71,8 @@ platform("linux")
, {nil, "cuda", "kv", "auto", "The Cuda SDK Directory" }
, {category = "Qt SDK Configuration" }
, {nil, "qt", "kv", "auto", "The Qt SDK Directory" }
+ , {category = "Vcpkg Configuration" }
+ , {nil, "vcpkg", "kv", "auto", "The Vcpkg Directory" }
}
}
diff --git a/xmake/platforms/macosx/xmake.lua b/xmake/platforms/macosx/xmake.lua
index a6a60fef6..abd7792cf 100644
--- a/xmake/platforms/macosx/xmake.lua
+++ b/xmake/platforms/macosx/xmake.lua
@@ -68,6 +68,8 @@ platform("macosx")
, {category = "Qt SDK Configuration" }
, {nil, "qt", "kv", "auto", "The Qt SDK Directory" }
, {nil, "qt_sdkver", "kv", "auto", "The Qt SDK Version" }
+ , {category = "Vcpkg Configuration" }
+ , {nil, "vcpkg", "kv", "auto", "The Vcpkg Directory" }
}
, global =
@@ -81,6 +83,8 @@ platform("macosx")
, {nil, "cuda", "kv", "auto", "The Cuda SDK Directory" }
, {category = "Qt SDK Configuration" }
, {nil, "qt", "kv", "auto", "The Qt SDK Directory" }
+ , {category = "Vcpkg Configuration" }
+ , {nil, "vcpkg", "kv", "auto", "The Vcpkg Directory" }
}
}