diff options
| author | ruki <[email protected]> | 2024-03-23 00:45:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-23 00:45:38 +0800 |
| commit | cffe3388442b419a39daed160c98a7ccff1432bb (patch) | |
| tree | 9faa33dfad9943e487b1576c7e5181ffbec06517 /xmake/modules/package/manager/system | |
| parent | a3a7f76fe2f10792cedf4198d2b5db51f64cb721 (diff) | |
update comments
Diffstat (limited to 'xmake/modules/package/manager/system')
| -rw-r--r-- | xmake/modules/package/manager/system/find_package.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/system/find_package.lua b/xmake/modules/package/manager/system/find_package.lua index 2a7b4727c..0d0db8a18 100644 --- a/xmake/modules/package/manager/system/find_package.lua +++ b/xmake/modules/package/manager/system/find_package.lua @@ -66,8 +66,11 @@ function main(name, opt) end snippet_configs.links = snippet_configs.links or name - -- we need to check package toolchain first + -- We need to check package toolchain first -- https://github.com/xmake-io/xmake/issues/4596#issuecomment-2014528801 + -- + -- 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 if opt.package and not _check_package_toolchains(opt.package) then return end |
