From 2309c5ec03eb09842814bcf03fffa8fa93999acf Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 6 Jun 2017 18:41:05 +0800 Subject: add find_library and remove some old codes --- xmake/modules/detect/tool/find_git.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/detect/tool/find_git.lua') diff --git a/xmake/modules/detect/tool/find_git.lua b/xmake/modules/detect/tool/find_git.lua index 666d79d25..12f08978d 100644 --- a/xmake/modules/detect/tool/find_git.lua +++ b/xmake/modules/detect/tool/find_git.lua @@ -42,7 +42,7 @@ import("lib.detect.find_programver") function main(opt) -- find program - local program = find_program("git", { "/usr/bin", "/usr/local/bin"}) + local program = find_program("git") -- find program version local version = nil -- cgit v1.3.1