summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/CMakeLists.txt')
-rw-r--r--llvm/unittests/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/unittests/CMakeLists.txt b/llvm/unittests/CMakeLists.txt
index 816c61eceaf..68fa8533baf 100644
--- a/llvm/unittests/CMakeLists.txt
+++ b/llvm/unittests/CMakeLists.txt
@@ -8,12 +8,6 @@ function(add_llvm_unittest_with_input_files test_dirname)
add_unittest_with_input_files(UnitTests ${test_dirname} ${ARGN})
endfunction()
-# The target unittests may test APIs that aren't exported in libLLVM.so, so
-# we need to always link against the static libraries.
-function(add_llvm_target_unittest test_dir_name)
- add_llvm_unittest(${test_dir_name} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN})
-endfunction()
-
add_subdirectory(ADT)
add_subdirectory(Analysis)
add_subdirectory(AsmParser)
OpenPOWER on IntegriCloud