From 8b9c51af95952ca997cfbb3dc9c0089c9d010ccd Mon Sep 17 00:00:00 2001 From: marshfolx Date: Tue, 21 Oct 2025 09:25:44 +0800 Subject: [PATCH] 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