1
0
Fork 0
forked from lthn/blockchain

CMake: make test building optional

This commit is contained in:
anonimal 2019-02-20 02:32:35 +00:00
parent 9d0f8c9966
commit cf5bfd5b79
No known key found for this signature in database
GPG key ID: 66A76ECF914409F1

View file

@ -201,8 +201,11 @@ else()
endif()
endif()
set(BUILD_TESTS FALSE CACHE BOOL "Build Zano tests")
add_subdirectory(contrib)
add_subdirectory(src)
add_subdirectory(tests)
if (BUILD_TESTS)
add_subdirectory(tests)
endif()