Skip to content

Commit 7de1fe2

Browse files
committed
Fix workflow file
1 parent 49faea4 commit 7de1fe2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cmake-sdl3-android.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
-S ./ \
7777
-B ./build/arm64-v8a
7878
cmake --build ./build/arm64-v8a --config Release
79+
cmake --install ./build/arm64-v8a --config Release --prefix install/arm64-v8a
7980
8081
- name: Build for x86_64
8182
run: |
@@ -93,6 +94,7 @@ jobs:
9394
-S ./ \
9495
-B ./build/x86_64
9596
cmake --build ./build/x86_64 --config Release
97+
cmake --install ./build/x86_64 --config Release --prefix install/x86_64
9698
9799
- name: Build SDL_image for arm64-v8a
98100
run: |
@@ -104,8 +106,7 @@ jobs:
104106
-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
105107
-DCMAKE_ANDROID_STL_TYPE=c++_shared \
106108
-DCMAKE_ANDROID_API=21 \
107-
-DSDL3_INCLUDE_DIR=./SDL/include \
108-
-DSDL3_LIBRARY=./SDL/build/arm64-v8a/libSDL3.so \
109+
-DCMAKE_PREFIX_PATH="./SDL/install/arm64-v8a" \
109110
-S ./ \
110111
-B ./build/arm64-v8a
111112
cmake --build ./build/arm64-v8a --config Release
@@ -120,8 +121,7 @@ jobs:
120121
-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
121122
-DCMAKE_ANDROID_STL_TYPE=c++_shared \
122123
-DCMAKE_ANDROID_API=21 \
123-
-DSDL3_INCLUDE_DIR=./SDL/include \
124-
-DSDL3_LIBRARY=./SDL/build/x86_64/libSDL3.so \
124+
-DCMAKE_PREFIX_PATH="./SDL/install/x86_64" \
125125
-S ./ \
126126
-B ./build/x86_64
127127
cmake --build ./build/x86_64 --config Release

0 commit comments

Comments
 (0)