diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-22 15:40:20 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-22 15:40:20 +0000 |
commit | 50b284666fe2923daa4ed14a3d774cad33b54b39 (patch) | |
tree | 10bbbb17e25245f5b0b2380ab1f2bbc97ade3e19 | |
parent | 5567869637383969dced0b84dbd19da12682df6b (diff) |
CMake: remove unnecessary variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126224 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | cmake/modules/AddLLVM.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/CMakeLists.txt | 1 | ||||
-rw-r--r-- | cmake/modules/LLVM.cmake | 2 | ||||
-rw-r--r-- | tools/llvm-config/CMakeLists.txt | 3 |
4 files changed, 1 insertions, 6 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 2a0d2a6808..764c6591c4 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -5,7 +5,6 @@ macro(add_llvm_library name) llvm_process_sources( ALL_FILES ${ARGN} ) add_library( ${name} ${ALL_FILES} ) set_property( GLOBAL APPEND PROPERTY LLVM_LIBS ${name} ) - set_property( GLOBAL APPEND PROPERTY LLVM_LIB_TARGETS ${name} ) if( LLVM_COMMON_DEPENDS ) add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} ) endif( LLVM_COMMON_DEPENDS ) diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt index 9a5566effb..1ab94749f1 100644 --- a/cmake/modules/CMakeLists.txt +++ b/cmake/modules/CMakeLists.txt @@ -1,7 +1,6 @@ set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake") get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS) -get_property(llvm_lib_targets GLOBAL PROPERTY LLVM_LIB_TARGETS) configure_file( LLVM.cmake diff --git a/cmake/modules/LLVM.cmake b/cmake/modules/LLVM.cmake index ad36cd096f..0dc5058f63 100644 --- a/cmake/modules/LLVM.cmake +++ b/cmake/modules/LLVM.cmake @@ -6,8 +6,6 @@ set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@) set_property( GLOBAL PROPERTY LLVM_LIBS "@llvm_libs@") -set(llvm_lib_targets @llvm_lib_targets@) - set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@) set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@) diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt index d33ff0dad8..b6f42895c1 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 |