[llvm] 27f2e9a - [examples] Fix CMakefiles for JITLink and OrcError library refactoring

Stephen Neuendorffer via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 13:59:00 PST 2020


Author: Stephen Neuendorffer
Date: 2020-01-27T13:58:50-08:00
New Revision: 27f2e9ab1c80876cce1a81f104677ebb1dce561f

URL: https://github.com/llvm/llvm-project/commit/27f2e9ab1c80876cce1a81f104677ebb1dce561f
DIFF: https://github.com/llvm/llvm-project/commit/27f2e9ab1c80876cce1a81f104677ebb1dce561f.diff

LOG: [examples] Fix CMakefiles for JITLink and OrcError library refactoring

The examples need explicit library dependencies when building with
BUILD_SHARED_LIBS=on

Added: 
    

Modified: 
    llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt b/llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt
index bf3bc7193ae5..3d83ee6864d3 100644
--- a/llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt
+++ b/llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt
@@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
   IRReader
+  JITLink
   OrcJIT
   Support
   nativecodegen


        


More information about the llvm-commits mailing list