Skip to content

Commit

Permalink
improve to system/find_package
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 5, 2024
1 parent 982a307 commit 23116ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/package/manager/system/find_package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function main(name, opt)
-- 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 not _check_package_toolchains(package) then
if package and package:toolchains() and not _check_package_toolchains(package) then
return
end

Expand Down

0 comments on commit 23116ce

Please sign in to comment.