android toolchain: add back setting of ANDROID_SDK

This commit is contained in:
Gerry Reno 2014-07-14 07:58:32 -04:00
parent d06ed2fa2f
commit 6ecb8131a4

View File

@ -326,6 +326,12 @@ set( CMAKE_SYSTEM_NAME Linux )
# this one not so much
set( CMAKE_SYSTEM_VERSION 1 )
# Android SDK
if (NOT DEFINED ANDROID_SDK)
set(ANDROID_SDK "$ENV{ANDROID_SDK}")
endif()
# rpath makes low sence for Android
set( CMAKE_SKIP_RPATH TRUE CACHE BOOL "If set, runtime paths are not added when using shared libraries." )