cmake: BUILD_TESTS as option explicitly; added missed dependency
This commit is contained in:
parent
1f0d016f44
commit
7ac134254f
1 changed files with 3 additions and 0 deletions
|
@ -436,6 +436,9 @@ include(version.cmake)
|
|||
add_subdirectory(contrib)
|
||||
add_subdirectory(src)
|
||||
|
||||
|
||||
option(BUILD_TESTS "Build tests." OFF)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue