cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit cb6df3ffadd70b51ee16d06fb7e0c7d9f44c17cd
parent c0ff1fef9b076ca565da61a69573907d3b1ef376
Author: Max Bruckner <max@maxbruckner.de>
Date:   Tue, 28 Feb 2017 21:34:29 +0100

Merge pull request #121 from ffontaine/master

Do not build unity library if tests are disabled
Diffstat:
Mtests/CMakeLists.txt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt @@ -1,6 +1,6 @@ -add_library(unity unity/src/unity.c) - if(ENABLE_CJSON_TEST) + add_library(unity unity/src/unity.c) + #copy test files file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/inputs") file(GLOB test_files "inputs/*")