[PATCH] D36211: [cmake] Expose the dependencies of ExecutionEngine as PUBLIC

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 06:27:24 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL310712: [cmake] Expose the dependencies of ExecutionEngine as PUBLIC (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D36211?vs=110705&id=110713#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36211

Files:
  llvm/trunk/lib/ExecutionEngine/CMakeLists.txt


Index: llvm/trunk/lib/ExecutionEngine/CMakeLists.txt
===================================================================
--- llvm/trunk/lib/ExecutionEngine/CMakeLists.txt
+++ llvm/trunk/lib/ExecutionEngine/CMakeLists.txt
@@ -14,6 +14,10 @@
   intrinsics_gen
   )
 
+if(BUILD_SHARED_LIBS)
+  target_link_libraries(LLVMExecutionEngine PUBLIC LLVMRuntimeDyld)
+endif()
+
 add_subdirectory(Interpreter)
 add_subdirectory(MCJIT)
 add_subdirectory(Orc)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36211.110713.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170811/8b938940/attachment.bin>


More information about the llvm-commits mailing list