cmake: BUILD_TESTS as option explicitly; added missed dependency
This commit is contained in:
parent
1f0d016f44
commit
7ac134254f
|
@ -436,6 +436,9 @@ include(version.cmake)
|
||||||
add_subdirectory(contrib)
|
add_subdirectory(contrib)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
|
||||||
|
option(BUILD_TESTS "Build tests." OFF)
|
||||||
|
|
||||||
if(BUILD_TESTS)
|
if(BUILD_TESTS)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue