summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-20 22:29:59 +0800
committerruki <[email protected]>2022-07-20 22:29:59 +0800
commit5dd962d1b0e51b839f88b580c5586ef8cfca3c60 (patch)
treecf54dc42393ab414e31ad94c3dc6a2940e7c51c8 /xmake/modules/private/action/require/impl/package.lua
parented3952947afe5ca5b24bf8dff7ead73d037bee2b (diff)
add package:use_external_includes
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
-rw-r--r--xmake/modules/private/action/require/impl/package.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index 174c67148..aa7fc9b96 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -492,13 +492,6 @@ function _finish_requireinfo(requireinfo, package)
requireinfo.configs.vs_runtime = "MT"
end
end
- local external = project.policy("package.include_external_headers")
- if external == nil then
- external = package:policy("package.include_external_headers")
- end
- if requireinfo.external == nil and external ~= nil then
- requireinfo.external = external
- end
-- we need ensure readonly configs
for _, name in ipairs(table.keys(requireinfo.configs)) do
if package:extraconf("configs", name, "readonly") then