1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

CMake: Use libpthread in tblgen when needed. Updated list of source

files for PIC16 target.

llvm-svn: 72277
This commit is contained in:
Oscar Fuentes 2009-05-22 20:55:15 +00:00
parent bbd03677ee
commit 832290edfe
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ tablegen(PIC16GenSubtarget.inc -gen-subtarget)
add_llvm_target(PIC16
PIC16AsmPrinter.cpp
PIC16DebugInfo.cpp
PIC16InstrInfo.cpp
PIC16ISelDAGToDAG.cpp
PIC16ISelLowering.cpp

View File

@ -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()