diff options
| author | ruki <[email protected]> | 2019-03-20 14:54:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-20 14:54:49 +0800 |
| commit | 85deccc73a0278e01fa8580b68b38f16e0598bf7 (patch) | |
| tree | a9a446a5be5ca662525df921e50ce66029bc3359 /xmake/modules/detect | |
| parent | 57506c7b8ba8941ebac3676a241f8444e0079a56 (diff) | |
| parent | 8bb6ddf5c40f15fe6570f73dc5c4e5295ce95180 (diff) | |
Merge branch 'repo' into dev
Diffstat (limited to 'xmake/modules/detect')
| -rw-r--r-- | xmake/modules/detect/tools/find_cmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_cmake.lua b/xmake/modules/detect/tools/find_cmake.lua index e9a20232d..021133052 100644 --- a/xmake/modules/detect/tools/find_cmake.lua +++ b/xmake/modules/detect/tools/find_cmake.lua @@ -52,7 +52,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 |
