summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules')
-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