summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-17 00:25:27 +0800
committerGitHub <[email protected]>2021-07-17 00:25:27 +0800
commit66bd7f991012fde50f9afe2d0a871263d7a007f4 (patch)
tree777c06819fd3d1a541fade1f77e8299233347026 /xmake/modules/private/action/require/impl/package.lua
parentacac0d80227ce3a2129c1fea2229227f3c193cae (diff)
Update package.lua
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
-rw-r--r--xmake/modules/private/action/require/impl/package.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index ed81e733e..54c06a15d 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -557,10 +557,6 @@ function _select_artifacts_for_msvc(package, artifacts_manifest)
if artifacts_info.toolset and semver.compare(vs_toolset, artifacts_info.toolset) < 0 then
return
end
- local vs_sdkver = vcvars.WindowsSDKVersion
- if vs_sdkver and artifacts_info.sdkver and semver.compare(vs_sdkver, artifacts_info.sdkver) < 0 then
- return
- end
return artifacts_info
end
end