[PATCH] D28389: [CMake] Handle common options in runtimes build

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 11:58:02 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL291590: [CMake] Handle common options for runtimes build (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D28389?vs=83330&id=83842#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28389

Files:
  llvm/trunk/runtimes/CMakeLists.txt


Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -61,6 +61,10 @@
   # This variable makes sure that e.g. llvm-lit is found.
   set(LLVM_MAIN_SRC_DIR ${LLVM_BUILD_MAIN_SRC_DIR})
 
+  # Handle common options used by all runtimes.
+  include(AddLLVM)
+  include(HandleLLVMOptions)
+
   foreach(entry ${runtimes})
     get_filename_component(projName ${entry} NAME)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28389.83842.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170110/faac2d6c/attachment.bin>


More information about the llvm-commits mailing list