Skip to content

Commit

Permalink
Merge pull request #121 from ffontaine/master
Browse files Browse the repository at this point in the history
Do not build unity library if tests are disabled
  • Loading branch information
FSMaxB authored Feb 28, 2017
2 parents c0ff1fe + 695d8a0 commit cb6df3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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/*")
Expand Down

0 comments on commit cb6df3f

Please sign in to comment.