cJSON: include only source file objects for cmake build

Test file can cause build issues in some cases, since it has its own main() function
This commit is contained in:
Mahavir Jain 2020-02-05 11:14:23 +05:30
parent 6d2fa2e0f1
commit e366b6ac21

View file

@ -1,4 +1,3 @@
idf_component_register(SRCS "cJSON/cJSON.c" idf_component_register(SRCS "cJSON/cJSON.c"
"cJSON/cJSON_Utils.c" "cJSON/cJSON_Utils.c"
"cJSON/test.c"
INCLUDE_DIRS cJSON) INCLUDE_DIRS cJSON)