cmake: Remove unused property on some targets: LLVM_LINK_LIBS
authorTom Stellard <tstellar@redhat.com>
Fri, 23 Jul 2021 02:58:05 +0000 (19:58 -0700)
committerTom Stellard <tstellar@redhat.com>
Fri, 23 Jul 2021 03:00:18 +0000 (20:00 -0700)
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

index 492f844..000933e 100644 (file)
@@ -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()