diff options
| author | ruki <[email protected]> | 2021-09-07 14:25:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-07 14:25:07 +0800 |
| commit | 42a7aaffe4d274b86945194462cbd61636ee39a4 (patch) | |
| tree | bd75c6e1a9e75c58690454337e09fc5fc0e70ba0 | |
| parent | ab7b371299bed8dcdf4ff3bc07e2443d40daaa10 (diff) | |
Update cmake.lua
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index b6c286e5f..40a1ad2e5 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -564,7 +564,7 @@ function _build_for_make(package, configs, opt) if ndk then make = path.join(ndk, "prebuilt", "windows-x86_64", "bin", "make.exe") end - if not os.isfile(make) then + if not make or not os.isfile(make) then make = "make" end os.vrunv(make, argv) @@ -630,7 +630,7 @@ function _install_for_make(package, configs, opt) if ndk then make = path.join(ndk, "prebuilt", "windows-x86_64", "bin", "make.exe") end - if not os.isfile(make) then + if not make or not os.isfile(make) then make = "make" end os.vrunv(make, argv) |
