[llvm] 4cef90d - cmake: Remove unused property on some targets: LLVM_LINK_LIBS

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 20:00:35 PDT 2021


Author: Tom Stellard
Date: 2021-07-22T20:00:18-07:00
New Revision: 4cef90d972621baf7c4bc91ae3dc7e2a4111c964

URL: https://github.com/llvm/llvm-project/commit/4cef90d972621baf7c4bc91ae3dc7e2a4111c964
DIFF: https://github.com/llvm/llvm-project/commit/4cef90d972621baf7c4bc91ae3dc7e2a4111c964.diff

LOG: 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

Added: 
    

Modified: 
    llvm/cmake/modules/AddLLVM.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 492f8440f0cb6..000933ea3d002 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()
 


        


More information about the llvm-commits mailing list