diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -651,10 +651,9 @@ # 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()