[llvm-commits] [llvm] r72277 - in /llvm/trunk: lib/Target/PIC16/CMakeLists.txt utils/TableGen/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Fri May 22 13:55:15 PDT 2009
Author: ofv
Date: Fri May 22 15:55:15 2009
New Revision: 72277
URL: http://llvm.org/viewvc/llvm-project?rev=72277&view=rev
Log:
CMake: Use libpthread in tblgen when needed. Updated list of source
files for PIC16 target.
Modified:
llvm/trunk/lib/Target/PIC16/CMakeLists.txt
llvm/trunk/utils/TableGen/CMakeLists.txt
Modified: llvm/trunk/lib/Target/PIC16/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/CMakeLists.txt?rev=72277&r1=72276&r2=72277&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/PIC16/CMakeLists.txt Fri May 22 15:55:15 2009
@@ -12,6 +12,7 @@
add_llvm_target(PIC16
PIC16AsmPrinter.cpp
+ PIC16DebugInfo.cpp
PIC16InstrInfo.cpp
PIC16ISelDAGToDAG.cpp
PIC16ISelLowering.cpp
Modified: llvm/trunk/utils/TableGen/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CMakeLists.txt?rev=72277&r1=72276&r2=72277&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CMakeLists.txt (original)
+++ llvm/trunk/utils/TableGen/CMakeLists.txt Fri May 22 15:55:15 2009
@@ -27,3 +27,6 @@
if( MINGW )
target_link_libraries(tblgen imagehlp psapi)
endif( MINGW )
+if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
+ target_link_libraries(tblgen pthread)
+endif()
More information about the llvm-commits
mailing list