cmake: BUILD_TESTS as option explicitly; added missed dependency
This commit is contained in:
parent
ef9a74c67e
commit
653c7e3804
|
@ -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 New Issue