summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittests/DebugInfo/CodeView/CMakeLists.txt3
-rw-r--r--unittests/DebugInfo/PDB/CMakeLists.txt3
-rw-r--r--unittests/Support/CMakeLists.txt3
3 files changed, 5 insertions, 4 deletions
diff --git a/unittests/DebugInfo/CodeView/CMakeLists.txt b/unittests/DebugInfo/CodeView/CMakeLists.txt
index 800f482d668..6f504d8149b 100644
--- a/unittests/DebugInfo/CodeView/CMakeLists.txt
+++ b/unittests/DebugInfo/CodeView/CMakeLists.txt
@@ -1,6 +1,5 @@
set(LLVM_LINK_COMPONENTS
DebugInfoCodeView
- TestingSupport
)
set(DebugInfoCodeViewSources
@@ -11,3 +10,5 @@ set(DebugInfoCodeViewSources
add_llvm_unittest(DebugInfoCodeViewTests
${DebugInfoCodeViewSources}
)
+
+target_link_libraries(DebugInfoCodeViewTests LLVMTestingSupport) \ No newline at end of file
diff --git a/unittests/DebugInfo/PDB/CMakeLists.txt b/unittests/DebugInfo/PDB/CMakeLists.txt
index ce6dadfbcdb..989cb396f67 100644
--- a/unittests/DebugInfo/PDB/CMakeLists.txt
+++ b/unittests/DebugInfo/PDB/CMakeLists.txt
@@ -2,7 +2,6 @@ set(LLVM_LINK_COMPONENTS
DebugInfoCodeView
DebugInfoMSF
DebugInfoPDB
- TestingSupport
)
set(DebugInfoPDBSources
@@ -17,3 +16,5 @@ set(DebugInfoPDBSources
add_llvm_unittest(DebugInfoPDBTests
${DebugInfoPDBSources}
)
+
+target_link_libraries(DebugInfoPDBTests LLVMTestingSupport) \ No newline at end of file
diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt
index 348ffba95f2..e2a6561089b 100644
--- a/unittests/Support/CMakeLists.txt
+++ b/unittests/Support/CMakeLists.txt
@@ -1,6 +1,5 @@
set(LLVM_LINK_COMPONENTS
Support
- TestingSupport
)
add_llvm_unittest(SupportTests
@@ -73,6 +72,6 @@ add_llvm_unittest(SupportTests
set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
# ManagedStatic.cpp uses <pthread>.
-target_link_libraries(SupportTests ${LLVM_PTHREAD_LIB})
+target_link_libraries(SupportTests LLVMTestingSupport ${LLVM_PTHREAD_LIB})
add_subdirectory(DynamicLibrary)