try to fix for esp-idf

This commit is contained in:
Francisco Herrera 2024-07-10 19:22:59 -03:00
parent ddec3a4742
commit 12e8f8be3f
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.5)
project(u8g2)
if(NOT DEFINED ESP_PLATFORM)
project(u8g2)
endif()
set(COMPONENT_ADD_INCLUDEDIRS csrc)
file(GLOB COMPONENT_SRCS csrc/*.c)