forked from OSchip/llvm-project
[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:
parent
f11d040f01
commit
03c48b01bf
|
@ -89,9 +89,8 @@ endif()
|
||||||
add_subdirectory(lib)
|
add_subdirectory(lib)
|
||||||
add_subdirectory(tools)
|
add_subdirectory(tools)
|
||||||
|
|
||||||
add_subdirectory(test)
|
|
||||||
|
|
||||||
if (LLVM_INCLUDE_TESTS)
|
if (LLVM_INCLUDE_TESTS)
|
||||||
|
add_subdirectory(test)
|
||||||
add_subdirectory(unittests)
|
add_subdirectory(unittests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue