1
0
mirror of https://github.com/DaveGamble/cJSON synced 2024-12-27 00:52:03 +00:00

Merge pull request #121 from ffontaine/master

Do not build unity library if tests are disabled
This commit is contained in:
Max Bruckner 2017-02-28 21:34:29 +01:00 committed by GitHub
commit cb6df3ffad

View File

@ -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/*")