blueloveTH 2 年之前
父节点
当前提交
81840e2cc3
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      build_android.sh

+ 2 - 1
build_android.sh

@@ -11,6 +11,7 @@ cmake \
     -DANDROID_ABI=$1 \
     -DANDROID_ABI=$1 \
     -DANDROID_PLATFORM=android-22 \
     -DANDROID_PLATFORM=android-22 \
     ../../.. \
     ../../.. \
-    -DPK_BUILD_SHARED_LIB=ON -DPK_USE_CJSON=ON -DPK_USE_BOX2D=ON
+    -DPK_BUILD_SHARED_LIB=ON -DPK_USE_CJSON=ON -DPK_USE_BOX2D=ON \
+    -DCMAKE_BUILD_TYPE=Release
 
 
 cmake --build . --config Release
 cmake --build . --config Release