From 49953b37d748a0116626a74f87faebf198c2d688 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 26 Mar 2021 22:41:34 +0800 Subject: improve to find_python --- xmake/modules/detect/tools/find_python2.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/modules/detect/tools/find_python2.lua') diff --git a/xmake/modules/detect/tools/find_python2.lua b/xmake/modules/detect/tools/find_python2.lua index eea226f06..1e9c7b228 100644 --- a/xmake/modules/detect/tools/find_python2.lua +++ b/xmake/modules/detect/tools/find_python2.lua @@ -43,6 +43,7 @@ function main(opt) -- find program local program = find_program(opt.program or "python2", opt) if not program then + opt.force = true program = find_program("python", opt) opt.version = true end -- cgit v1.3.1