summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-04 00:37:55 +0800
committerruki <[email protected]>2024-04-04 00:37:55 +0800
commitd8c1f612cdbd5c6f29a7b789d46f91292c1abc1e (patch)
tree6d23732cd4c9b8f16c05d9940bfdeb0f1e2014b4
parent5ae6718ca77480542aef533ea90f799e05c46aec (diff)
revert change
-rw-r--r--xmake/modules/package/manager/system/find_package.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/system/find_package.lua b/xmake/modules/package/manager/system/find_package.lua
index dd1fd099a..6ba79c3ec 100644
--- a/xmake/modules/package/manager/system/find_package.lua
+++ b/xmake/modules/package/manager/system/find_package.lua
@@ -71,8 +71,9 @@ function main(name, opt)
--
-- But if it depends on some toolchain packages,
-- then they can't be detected early in the fetch and we have to disable system.find_package
+ -- FIXME
local package = opt.package
- if package and package:toolchains() and not _check_package_toolchains(package) then
+ if package and not _check_package_toolchains(package) then
return
end