| commit | 770c8e792772ee3fa0a66f1407ad6565a5c370e4 | [log] [tgz] |
|---|---|---|
| author | Oscar Fuentes <ofv@wanadoo.es> | Fri May 22 20:55:15 2009 +0000 |
| committer | Oscar Fuentes <ofv@wanadoo.es> | Fri May 22 20:55:15 2009 +0000 |
| tree | d4aad8099f670ce56e98cced9c788f4010dbc671 | |
| parent | d6fb6501e3f873290100c6591b5a0f35bb5ca40f [diff] [blame] |
CMake: Use libpthread in tblgen when needed. Updated list of source files for PIC16 target. llvm-svn: 72277
diff --git a/llvm/utils/TableGen/CMakeLists.txt b/llvm/utils/TableGen/CMakeLists.txt index 60ed764..3f982e0 100644 --- a/llvm/utils/TableGen/CMakeLists.txt +++ b/llvm/utils/TableGen/CMakeLists.txt
@@ -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()