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:
commit
cb6df3ffad
@ -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/*")
|
||||
|
Loading…
Reference in New Issue
Block a user