There was an error while loading. Please reload this page.
1 parent 3c666ee commit c0f97e7Copy full SHA for c0f97e7
2 files changed
.github/workflows/switch.yml
@@ -14,7 +14,7 @@ jobs:
14
name: Build Switch
15
runs-on: ubuntu-latest
16
container:
17
- image: 'devkitpro/devkita64:20241023'
+ image: 'devkitpro/devkita64'
18
steps:
19
- name: Checkout code
20
uses: actions/checkout@v6
CMakeLists.txt
@@ -472,7 +472,7 @@ if (NOT SERVER_ONLY)
472
473
# Freetype
474
find_package(Freetype)
475
- if(FREETYPE_FOUND)
+ if(FREETYPE_FOUND OR TARGET Freetype::Freetype)
476
include_directories(${FREETYPE_INCLUDE_DIRS})
477
else()
478
message(FATAL_ERROR "Freetype not found. "
@@ -739,6 +739,7 @@ if (USE_SWITCH)
739
target_link_libraries(supertuxkart
740
${NX_LIBRARY}
741
${ZLIB_LIBRARY}
742
+ Freetype::Freetype
743
${FREETYPE_LIBRARIES}
744
-logg
745
-lvorbis
0 commit comments