[cmake]: Change to shorter RKPLATFORM macro

Change Android and Linux branches to use RKPLATFORM macro.
RKPLATFORM is shorter and it is not a cmake variable.

Change-Id: I09a6fe72e7dacedbb4b2b8e1a66b6f7ca625f019
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2017-12-19 19:44:30 +08:00
parent 81759e832a
commit b186d04390
9 changed files with 12 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ cmake -DCMAKE_TOOLCHAIN_FILE=../android.toolchain.cmake \
-DANDROID_TOOLCHAIN_NAME="arm-linux-androideabi-4.8" \
-DANDROID_NATIVE_API_LEVEL=android-21 \
-DANDROID_STL=system \
-DCMAKE_RKPLATFORM_ENABLE=ON \
-DRKPLATFORM=ON \
../../../
# ----------------------------------------------------------------------------