Fix for simulator build and improve ESP-IDF build (#432)

This commit is contained in:
Ken Van Hoeylandt
2025-12-22 21:16:51 +01:00
committed by GitHub
parent 6c4a9975a4
commit 134e0b34b6
5 changed files with 12 additions and 6 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
file(GLOB SOURCES "cJSON/*.c")
add_library(cJSON STATIC)
target_sources(cJSON PRIVATE ${SOURCES})
target_sources(cJSON PRIVATE cJSON/cJSON.c cJSON/cJSON_Utils.c)
include_directories(cJSON "cJSON/")
target_include_directories(cJSON PUBLIC "cJSON/")