[CMake] Don't include the lld test directory if LLVM_INCLUDE_TESTS is Off

This matches the behavior of LLVM and Clang.

llvm-svn: 249050
This commit is contained in:
Chris Bieneman 2015-10-01 18:17:47 +00:00
parent f11d040f01
commit 03c48b01bf
1 changed files with 1 additions and 2 deletions

View File

@ -89,9 +89,8 @@ endif()
add_subdirectory(lib)
add_subdirectory(tools)
add_subdirectory(test)
if (LLVM_INCLUDE_TESTS)
add_subdirectory(test)
add_subdirectory(unittests)
endif()