Skip to content

Commit

Permalink
Set the vcpkg min android version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dextinfire committed Oct 5, 2024
1 parent 9b37501 commit 6c32575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
if: matrix.os_name == 'android'
run: |
export ABI=arm64-v8a
export MINSDKVERSION=33
export MINSDKVERSION=28
echo "MINSDKVERSION=$MINSDKVERSION" >> $GITHUB_ENV
echo "ABI=$ABI" >> $GITHUB_ENV
echo "CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-linux-android$MINSDKVERSION" >> $GITHUB_ENV
Expand Down Expand Up @@ -167,6 +167,7 @@ jobs:
${{ (matrix.os_name == 'android') && ',
"-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake",
"-DANDROID_ABI=$ABI",
"-DVCPKG_CMAKE_SYSTEM_VERSION=$MINSDKVERSION",
"-DANDROID_PLATFORM=android-$MINSDKVERSION",
"-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH",
"-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH",
Expand Down

0 comments on commit 6c32575

Please sign in to comment.