mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-18 10:59:49 +00:00
Do not build unity library if tests are disabled
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
1 parent
c0ff1fef9b
commit
695d8a01a9
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