diff options
| author | ruki <[email protected]> | 2018-09-29 00:48:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-28 22:52:39 +0800 |
| commit | f90792531c3a86f91b870716288073a6a8d60201 (patch) | |
| tree | 837f9cb147d486823379d76b670c7e5562cb53e6 | |
| parent | b17ed1ae2522107175a7abc03b11c0126f7503f3 (diff) | |
improve to find ndk
| -rw-r--r-- | xmake/platforms/android/check.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/platforms/android/check.lua b/xmake/platforms/android/check.lua index 4af8a6143..fd5bea46f 100644 --- a/xmake/platforms/android/check.lua +++ b/xmake/platforms/android/check.lua @@ -32,6 +32,12 @@ function _check_ndk(config) if ndk then config.set("bin", ndk.bindir) config.set("cross", ndk.cross) + else + -- failed + cprint("${bright red}please run:") + cprint("${red} - xmake config --ndk=xxx") + cprint("${red}or - xmake global --ndk=xxx") + raise() end end |
