cmake: BUILD_TESTS as option explicitly; added missed dependency
This commit is contained in:
parent
ef9a74c67e
commit
653c7e3804
1 changed files with 3 additions and 0 deletions
|
@ -455,6 +455,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