diff options
| author | ruki <[email protected]> | 2019-06-13 22:44:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-06-13 10:28:10 +0800 |
| commit | 731e06180fc37f51da797bd58ce01700a4faa32a (patch) | |
| tree | 1413937006a6a419f537101e0ad2ed1e8951467f | |
| parent | e859eb379e8ab64b0c20b859d9377d56fe4b6562 (diff) | |
fix find_curl
| -rw-r--r-- | xmake/modules/detect/tools/find_curl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_curl.lua b/xmake/modules/detect/tools/find_curl.lua index 4b613311d..b5c13b40c 100644 --- a/xmake/modules/detect/tools/find_curl.lua +++ b/xmake/modules/detect/tools/find_curl.lua @@ -45,7 +45,7 @@ function main(opt) -- find program version local version = nil - if opt and opt.version then + if program and opt and opt.version then version = find_programver(program, opt) end |
