From e262e6f9f3d0e1a1d60a66627ea5b56f4731f8a6 Mon Sep 17 00:00:00 2001 From: Willaaaaaaa Date: Mon, 1 Dec 2025 23:38:09 +0800 Subject: add value type for policy package.download.http_headers --- xmake/core/project/policy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua index d2aca60cb..6a3393cce 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -148,7 +148,7 @@ function policy.policies() -- Install packages in the local project folder ["package.install_locally"] = {description = "Install packages in the local project folder.", default = false, type = "boolean"}, -- Set custom headers when downloading package - ["package.download.http_headers"] = {description = "Set the custom http headers when downloading package."}, + ["package.download.http_headers"] = {description = "Set the custom http headers when downloading package.", type = "table"}, -- Use includes as external header files? e.g. -isystem .. ["package.include_external_headers"] = {description = "Use includes as external headers.", type = "boolean"}, -- Inherit the configs from the external command arguments, e.g. toolchains, `xmake f --toolchain=` -- cgit v1.3.1