From 28b439e6e1ba63625fabb383a6d3eebb38a99043 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 8 Dec 2014 18:20:50 +0000 Subject: [PATCH] Attempt to fix the cmake build by requiring mcjit on the cmake dependencies for the KS tutorials git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223677 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/Kaleidoscope/Chapter4/CMakeLists.txt | 1 + examples/Kaleidoscope/Chapter5/CMakeLists.txt | 1 + examples/Kaleidoscope/Chapter6/CMakeLists.txt | 1 + examples/Kaleidoscope/Chapter7/CMakeLists.txt | 1 + examples/Kaleidoscope/Chapter8/CMakeLists.txt | 1 + 5 files changed, 5 insertions(+) diff --git a/examples/Kaleidoscope/Chapter4/CMakeLists.txt b/examples/Kaleidoscope/Chapter4/CMakeLists.txt index 2f828dc819e..46067d99731 100644 --- a/examples/Kaleidoscope/Chapter4/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter4/CMakeLists.txt @@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS ScalarOpts Support nativecodegen + mcjit ) add_llvm_example(Kaleidoscope-Ch4 diff --git a/examples/Kaleidoscope/Chapter5/CMakeLists.txt b/examples/Kaleidoscope/Chapter5/CMakeLists.txt index 1912ddc0741..138cf0c0969 100644 --- a/examples/Kaleidoscope/Chapter5/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter5/CMakeLists.txt @@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS ScalarOpts Support nativecodegen + mcjit ) add_llvm_example(Kaleidoscope-Ch5 diff --git a/examples/Kaleidoscope/Chapter6/CMakeLists.txt b/examples/Kaleidoscope/Chapter6/CMakeLists.txt index d36f03090e5..af24377c761 100644 --- a/examples/Kaleidoscope/Chapter6/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter6/CMakeLists.txt @@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS ScalarOpts Support nativecodegen + mcjit ) add_llvm_example(Kaleidoscope-Ch6 diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt index bdc0e5525db..304c94ba5a2 100644 --- a/examples/Kaleidoscope/Chapter7/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter7/CMakeLists.txt @@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS Support TransformUtils nativecodegen + mcjit ) set(LLVM_REQUIRES_RTTI 1) diff --git a/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/examples/Kaleidoscope/Chapter8/CMakeLists.txt index 053916f441d..a09c6bee8b5 100644 --- a/examples/Kaleidoscope/Chapter8/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter8/CMakeLists.txt @@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS Support TransformUtils nativecodegen + mcjit ) set(LLVM_REQUIRES_RTTI 1) -- 2.34.1