diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-05-22 20:55:15 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-05-22 20:55:15 +0000 |
commit | 54dd8d629643e43810ba9611ee755903e6706d85 (patch) | |
tree | 4d30c7be6a3f0024056c523fd20336bb6d149afa /utils | |
parent | f325c4808b01ed9a5230faec3be5a8fbddf18c76 (diff) | |
download | external_llvm-54dd8d629643e43810ba9611ee755903e6706d85.zip external_llvm-54dd8d629643e43810ba9611ee755903e6706d85.tar.gz external_llvm-54dd8d629643e43810ba9611ee755903e6706d85.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt index 60ed764..3f982e0 100644 --- a/utils/TableGen/CMakeLists.txt +++ b/utils/TableGen/CMakeLists.txt @@ -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() |