From 16b865c3286a96c24b816c077949fdb8ac7f0238 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 25 Nov 2023 00:40:41 -0500 Subject: [PATCH] include font_loader.cc for unix --- src/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e257972a..197bbe8d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,9 +55,12 @@ set(SDL_TARGETS SDL2::SDL2) if(WIN32 OR MINGW) list(PREPEND SDL_TARGETS SDL2::SDL2main ws2_32) add_definitions(-DSDL_MAIN_HANDLED) - list(APPEND YAZE_APP_CORE_SRC - app/core/platform/font_loader.cc - ) +endif() + +if (WIN32 OR MINGW OR UNIX) + list(APPEND YAZE_APP_CORE_SRC + app/core/platform/font_loader.cc + ) endif() if(APPLE)