Fix for simulator build and improve ESP-IDF build (#432)
This commit is contained in:
committed by
GitHub
parent
6c4a9975a4
commit
134e0b34b6
@@ -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/")
|
||||
|
||||
Reference in New Issue
Block a user