forked from OSchip/llvm-project
Fixing CMake developer warning.
LLDUnitTests target doesn't exist unless LLVM_INCLUDE_TESTS is On. llvm-svn: 232058
This commit is contained in:
parent
a29622a8c5
commit
d24e65895d
|
@ -23,8 +23,11 @@ set(LLD_TEST_DEPS
|
|||
FileCheck not llvm-nm
|
||||
lld llvm-config llvm-objdump llvm-readobj yaml2obj obj2yaml
|
||||
linker-script-test macho-dump llvm-mc llvm-nm
|
||||
LLDUnitTests
|
||||
)
|
||||
if (LLVM_INCLUDE_TESTS)
|
||||
set(LLD_TEST_DEPS ${LLD_TEST_DEPS} LLDUnitTests)
|
||||
endif()
|
||||
|
||||
set(LLD_TEST_PARAMS
|
||||
lld_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue