From e366b6ac211c4f5cd9308e5f412c4521f1a333e9 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Wed, 5 Feb 2020 11:14:23 +0530 Subject: [PATCH] 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 --- components/json/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/components/json/CMakeLists.txt b/components/json/CMakeLists.txt index 1ecadb3858..37ca9a6d6d 100644 --- a/components/json/CMakeLists.txt +++ b/components/json/CMakeLists.txt @@ -1,4 +1,3 @@ idf_component_register(SRCS "cJSON/cJSON.c" "cJSON/cJSON_Utils.c" - "cJSON/test.c" INCLUDE_DIRS cJSON)