cmake: BUILD_TESTS as option explicitly; added missed dependency

This commit is contained in:
Ilya Kitaev 2016-05-27 10:42:31 +03:00
parent ef9a74c67e
commit 653c7e3804
1 changed files with 3 additions and 0 deletions

View File

@ -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()