Skip to content

Commit c0f97e7

Browse files
authored
Switch: Update devkitpro version (#5813)
This should hopefully fix issues related to using an older libnx.
1 parent 3c666ee commit c0f97e7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/switch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Build Switch
1515
runs-on: ubuntu-latest
1616
container:
17-
image: 'devkitpro/devkita64:20241023'
17+
image: 'devkitpro/devkita64'
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v6

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ if (NOT SERVER_ONLY)
472472

473473
# Freetype
474474
find_package(Freetype)
475-
if(FREETYPE_FOUND)
475+
if(FREETYPE_FOUND OR TARGET Freetype::Freetype)
476476
include_directories(${FREETYPE_INCLUDE_DIRS})
477477
else()
478478
message(FATAL_ERROR "Freetype not found. "
@@ -739,6 +739,7 @@ if (USE_SWITCH)
739739
target_link_libraries(supertuxkart
740740
${NX_LIBRARY}
741741
${ZLIB_LIBRARY}
742+
Freetype::Freetype
742743
${FREETYPE_LIBRARIES}
743744
-logg
744745
-lvorbis

0 commit comments

Comments
 (0)