Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Jun 2, 2024
1 parent a786c84 commit ae4240e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
- name: Build
run: |
cd build
cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON -DBUILD_SOKOL=ON -DCMAKE_TOOLCHAIN_FILE=rpi/toolchain.cmake ..
cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON -DBUILD_SDL=ON -DCMAKE_TOOLCHAIN_FILE=rpi/toolchain.cmake ..
cmake --build . --config MinSizeRel --parallel
- name: Deploy
Expand Down Expand Up @@ -416,7 +416,7 @@ jobs:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r22b
ndk-version: r23c
add-to-path: false
local-cache: true

Expand Down
6 changes: 1 addition & 5 deletions cmake/sokol.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ if(BUILD_SOKOL)
target_compile_definitions(sokol PRIVATE SOKOL_D3D11)
target_link_libraries(sokol PRIVATE D3D11)
elseif(LINUX)
if(RPI)
target_compile_definitions(sokol PRIVATE SOKOL_GLES3)
else()
target_compile_definitions(sokol PRIVATE SOKOL_GLCORE)
endif()
target_compile_definitions(sokol PRIVATE SOKOL_GLCORE)
target_link_libraries(sokol PRIVATE X11 Xcursor Xi GL m dl asound)
elseif(ANDROID)
target_compile_definitions(sokol PRIVATE SOKOL_GLES3)
Expand Down

0 comments on commit ae4240e

Please sign in to comment.