forked from lthn/blockchain
CMake: make test building optional
This commit is contained in:
parent
9d0f8c9966
commit
cf5bfd5b79
1 changed files with 4 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue