mirror of
https://github.com/DaveGamble/cJSON
synced 2025-04-24 12:21:07 +00:00
Merge pull request #121 from ffontaine/master
Do not build unity library if tests are disabled
This commit is contained in:
commit
cb6df3ffad
@ -1,6 +1,6 @@
|
|||||||
add_library(unity unity/src/unity.c)
|
|
||||||
|
|
||||||
if(ENABLE_CJSON_TEST)
|
if(ENABLE_CJSON_TEST)
|
||||||
|
add_library(unity unity/src/unity.c)
|
||||||
|
|
||||||
#copy test files
|
#copy test files
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/inputs")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/inputs")
|
||||||
file(GLOB test_files "inputs/*")
|
file(GLOB test_files "inputs/*")
|
||||||
|
Loading…
Reference in New Issue
Block a user