mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:30:40 +01:00
[cmake]: Fix ndk r10d compile error
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I64fcf77e7adf13702f98d5d7735338846faff843
This commit is contained in:
parent
f69176591d
commit
44996a76ce
2 changed files with 7 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ FOUND_NDK=0
|
|||
if [ -z "$ANDROID_NDK" ]; then
|
||||
# try find ndk path in CMakeCache.txt
|
||||
if [ -f "CMakeCache.txt" ]; then
|
||||
ANDROID_NDK=`grep ANDROID_NDK CMakeCache.txt | awk -F '=' '{ print $2 }'`
|
||||
ANDROID_NDK=`grep ANDROID_NDK\: CMakeCache.txt | awk -F '=' '{ print $2 }'`
|
||||
|
||||
if [ -d "${ANDROID_NDK}" ]; then
|
||||
echo "use android ndk from CMakeCache.txt : ${ANDROID_NDK}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue