From 4cef90d972621baf7c4bc91ae3dc7e2a4111c964 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 22 Jul 2021 19:58:05 -0700 Subject: [PATCH] cmake: Remove unused property on some targets: LLVM_LINK_LIBS This doesn't appear to be used anywhere. Reviewed By: serge-sans-paille Differential Revision: https://reviews.llvm.org/D100021 --- llvm/cmake/modules/AddLLVM.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 492f844..000933e 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -651,10 +651,9 @@ function(llvm_add_library name) # property has been set to an empty value. set_property(TARGET ${name} PROPERTY LLVM_LINK_COMPONENTS ${ARG_LINK_COMPONENTS} ${LLVM_LINK_COMPONENTS}) - # These two properties are internal properties only used to make sure the + # This property is an internal property only used to make sure the # link step applied in LLVMBuildResolveComponentsLink uses the same - # properties as the target_link_libraries call below. - set_property(TARGET ${name} PROPERTY LLVM_LINK_LIBS ${ARG_LINK_LIBS}) + # property as the target_link_libraries call below. set_property(TARGET ${name} PROPERTY LLVM_LIBTYPE ${libtype}) endif() -- 2.7.4