From 6f1f7d7778df3f7a13ccbb4dff7586e82b9830a2 Mon Sep 17 00:00:00 2001 From: Doekin Date: Wed, 26 Feb 2025 15:26:46 +0800 Subject: Pass more options from `package:find_tool` to `lib.detect.find_tool` --- xmake/core/package/package.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index d6eae8a1b..61837ad00 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1966,6 +1966,9 @@ function _instance:find_tool(name, opt) bindirs = self:get("bindirs"), version = true, -- we alway check version require_version = opt.require_version, + check = opt.check, + command = opt.command, + parse = opt.parse, norun = opt.norun, system = opt.system, force = opt.force}) -- cgit v1.3.1