summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-21 01:35:09 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-21 01:35:09 +0000
commit45df6f9e0401903b9eba84e2f90674b0a0dfea56 (patch)
tree4d126c4d2c3674354bbc067cada3ea9bf03bc38f /cmake
parent71b49cb5c73ba912f2fab30f35ed1e43c35a2139 (diff)
downloadllvm-45df6f9e0401903b9eba84e2f90674b0a0dfea56.tar.gz
llvm-45df6f9e0401903b9eba84e2f90674b0a0dfea56.tar.bz2
llvm-45df6f9e0401903b9eba84e2f90674b0a0dfea56.tar.xz
Remove one of the LLVM-specific CMake hacks in favor of standard CMake
facilities. This was only used in one place in LLVM, and was used pervasively (but with different code!) in Clang. It has no advantages over the standard CMake facilities and in some cases disadvantages. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/modules/AddLLVM.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index bfe5127a4b..ea0cc6a862 100755
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -82,7 +82,6 @@ macro(add_llvm_executable name)
add_executable(${name} ${ALL_FILES})
endif()
set(EXCLUDE_FROM_ALL OFF)
- target_link_libraries( ${name} ${LLVM_USED_LIBS} )
llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
if( LLVM_COMMON_DEPENDS )
add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )