summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-12 23:26:15 +0800
committerruki <[email protected]>2026-03-12 23:26:15 +0800
commita3fa1adf39a11074b516d3ffa27d77a182aa070b (patch)
treece293a0c6748828886461052b87fbe212d00dd89
parentdeaf196c40c2a7a6dcb7fe2b3917a79c28c99a66 (diff)
improve vcpkg
-rw-r--r--xmake/modules/package/manager/vcpkg/install_package.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua
index 021e30d9a..e7c0fa930 100644
--- a/xmake/modules/package/manager/vcpkg/install_package.lua
+++ b/xmake/modules/package/manager/vcpkg/install_package.lua
@@ -56,6 +56,10 @@ function _install_for_classic(vcpkg, name, opt)
table.insert(argv, "--debug")
end
+ -- allow rebuilding packages when features change
+ -- @see https://github.com/xmake-io/xmake/issues/7388
+ table.insert(argv, "--recurse")
+
-- install package
os.vrunv(vcpkg, argv)
end