summaryrefslogtreecommitdiffstats
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-02-22 15:40:20 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-02-22 15:40:20 +0000
commit50b284666fe2923daa4ed14a3d774cad33b54b39 (patch)
tree10bbbb17e25245f5b0b2380ab1f2bbc97ade3e19 /tools/llvm-config
parent5567869637383969dced0b84dbd19da12682df6b (diff)
downloadexternal_llvm-50b284666fe2923daa4ed14a3d774cad33b54b39.zip
external_llvm-50b284666fe2923daa4ed14a3d774cad33b54b39.tar.gz
external_llvm-50b284666fe2923daa4ed14a3d774cad33b54b39.tar.bz2
CMake: remove unnecessary variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r--tools/llvm-config/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt
index d33ff0d..b6f4289 100644
--- a/tools/llvm-config/CMakeLists.txt
+++ b/tools/llvm-config/CMakeLists.txt
@@ -124,8 +124,7 @@ add_custom_command(OUTPUT ${LLVM_CONFIG}
add_custom_target(llvm-config.target ALL
DEPENDS ${LLVM_CONFIG})
-get_property(llvm_lib_targets GLOBAL PROPERTY LLVM_LIB_TARGETS)
-add_dependencies(llvm-config.target ${llvm_lib_targets})
+add_dependencies( llvm-config.target ${llvm_libs} )
# Make sure that llvm-config builds before the llvm tools, so we have
# LibDeps.txt and can use it for updating the hard-coded library