diff options
Diffstat (limited to 'unittests/Support/CMakeLists.txt')
| -rw-r--r-- | unittests/Support/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt index 3ab98d58d5f0..9a4a14450911 100644 --- a/unittests/Support/CMakeLists.txt +++ b/unittests/Support/CMakeLists.txt @@ -1,5 +1,4 @@ set(LLVM_LINK_COMPONENTS - ${LLVM_TARGETS_TO_BUILD} Support ) @@ -17,6 +16,7 @@ add_llvm_unittest(SupportTests DwarfTest.cpp EndianStreamTest.cpp EndianTest.cpp + ErrorTest.cpp ErrorOrTest.cpp FileOutputBufferTest.cpp IteratorTest.cpp @@ -36,14 +36,15 @@ add_llvm_unittest(SupportTests ScaledNumberTest.cpp SourceMgrTest.cpp SpecialCaseListTest.cpp - StreamingMemoryObject.cpp + StreamingMemoryObjectTest.cpp StringPool.cpp SwapByteOrderTest.cpp - TargetRegistry.cpp + TargetParserTest.cpp ThreadLocalTest.cpp ThreadPool.cpp TimerTest.cpp TimeValueTest.cpp + TypeNameTest.cpp TrailingObjectsTest.cpp UnicodeTest.cpp YAMLIOTest.cpp @@ -51,9 +52,8 @@ add_llvm_unittest(SupportTests formatted_raw_ostream_test.cpp raw_ostream_test.cpp raw_pwrite_stream_test.cpp + raw_sha1_ostream_test.cpp ) # ManagedStatic.cpp uses <pthread>. -if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD) - target_link_libraries(SupportTests pthread) -endif() +target_link_libraries(SupportTests ${PTHREAD_LIB}) |
