forked from OSchip/llvm-project
Fix build of Lex unit test with CLANG_DYLIB
If CLANG_LINK_CLANG_DYLIB, clang_target_link_libraries ignores all indivial libraries and only links clang-cpp. As LLVMTestingSupport is separate, pass it via target_link_libraries directly.
This commit is contained in:
parent
d635695cf8
commit
f0403c853b
|
@ -20,6 +20,9 @@ clang_target_link_libraries(LexTests
|
|||
clangLex
|
||||
clangParse
|
||||
clangSema
|
||||
)
|
||||
|
||||
target_link_libraries(LexTests
|
||||
PRIVATE
|
||||
LLVMTestingSupport
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue