mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-15 19:13:45 +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 file changed
+2
-2
@@ -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/*")
|
||||
|
||||
Reference in new issue
Block a user