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
1 changed files with 2 additions and 2 deletions

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