llvm.org GIT mirror llvm / 458f913
Don't include TestingSupport in LLVM_LINK_COMPONENTS. Instead use target_link_libraries directly. Thanks to Juergen Ributzka for the suggestion, which fixes an issue when llvm is configured with no targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305421 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 2 years ago
3 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
0 set(LLVM_LINK_COMPONENTS
11 DebugInfoCodeView
2 TestingSupport
32 )
43
54 set(DebugInfoCodeViewSources
109 add_llvm_unittest(DebugInfoCodeViewTests
1110 ${DebugInfoCodeViewSources}
1211 )
12
13 target_link_libraries(DebugInfoCodeViewTests LLVMTestingSupport)
11 DebugInfoCodeView
22 DebugInfoMSF
33 DebugInfoPDB
4 TestingSupport
54 )
65
76 set(DebugInfoPDBSources
1615 add_llvm_unittest(DebugInfoPDBTests
1716 ${DebugInfoPDBSources}
1817 )
18
19 target_link_libraries(DebugInfoPDBTests LLVMTestingSupport)
0 set(LLVM_LINK_COMPONENTS
11 Support
2 TestingSupport
32 )
43
54 add_llvm_unittest(SupportTests
7271 set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
7372
7473 # ManagedStatic.cpp uses .
75 target_link_libraries(SupportTests ${LLVM_PTHREAD_LIB})
74 target_link_libraries(SupportTests LLVMTestingSupport ${LLVM_PTHREAD_LIB})
7675
7776 add_subdirectory(DynamicLibrary)