[PATCH] D65818: Add order-dependencies to object libraries

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 12:43:26 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368074: Add order-dependencies to object libraries (authored by cbieneman, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D65818?vs=213655&id=213692#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65818/new/

https://reviews.llvm.org/D65818

Files:
  llvm/trunk/cmake/modules/AddLLVM.cmake


Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/cmake/modules/AddLLVM.cmake
@@ -448,6 +448,9 @@
     list(APPEND objlibs ${obj_name})
 
     set_target_properties(${obj_name} PROPERTIES FOLDER "Object Libraries")
+    if(ARG_DEPENDS)
+      add_dependencies(${obj_name} ${ARG_DEPENDS})
+    endif()
   endif()
 
   if(ARG_SHARED AND ARG_STATIC)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65818.213692.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190806/c9f2ac17/attachment.bin>


More information about the llvm-commits mailing list