mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 16:21:36 +00:00
CMake: Use libpthread in tblgen when needed. Updated list of source
files for PIC16 target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0f1e1780c
commit
a2ac75d547
@ -12,6 +12,7 @@ tablegen(PIC16GenSubtarget.inc -gen-subtarget)
|
||||
|
||||
add_llvm_target(PIC16
|
||||
PIC16AsmPrinter.cpp
|
||||
PIC16DebugInfo.cpp
|
||||
PIC16InstrInfo.cpp
|
||||
PIC16ISelDAGToDAG.cpp
|
||||
PIC16ISelLowering.cpp
|
||||
|
@ -27,3 +27,6 @@ target_link_libraries(tblgen LLVMSupport LLVMSystem)
|
||||
if( MINGW )
|
||||
target_link_libraries(tblgen imagehlp psapi)
|
||||
endif( MINGW )
|
||||
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
|
||||
target_link_libraries(tblgen pthread)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user