From 8b9c51af95952ca997cfbb3dc9c0089c9d010ccd Mon Sep 17 00:00:00 2001 From: marshfolx Date: Tue, 21 Oct 2025 09:25:44 +0800 Subject: [PATCH 1/2] Add cppsrc to target include directories --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d921d46d..2a1d305e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,10 @@ if(COMMAND register_component) register_component() else() add_library(u8g2 ${COMPONENT_SRCS}) - target_include_directories(u8g2 PUBLIC "$" "$") + target_include_directories(u8g2 PUBLIC + "$" + "$" + "$") endif() install(TARGETS u8g2 From e8196b627f20c9e692f6d39b6bd2a4e03907783e Mon Sep 17 00:00:00 2001 From: marshfolx Date: Tue, 21 Oct 2025 09:29:41 +0800 Subject: [PATCH 2/2] Include stdio.h in u8x8_d_sdl_128x64.c Added stdio.h for additional functionality. --- sys/sdl/common/u8x8_d_sdl_128x64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sdl/common/u8x8_d_sdl_128x64.c b/sys/sdl/common/u8x8_d_sdl_128x64.c index 0b45edb7..93f33ff6 100644 --- a/sys/sdl/common/u8x8_d_sdl_128x64.c +++ b/sys/sdl/common/u8x8_d_sdl_128x64.c @@ -7,6 +7,7 @@ #include "SDL.h" #endif #include +#include //#define HEIGHT (64) //#define WIDTH 128