summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ExecutionEngine/JIT/CMakeLists.txt1
-rw-r--r--utils/unittest/CMakeLists.txt8
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/CMakeLists.txt b/lib/ExecutionEngine/JIT/CMakeLists.txt
index 598e50e..92aa76a 100644
--- a/lib/ExecutionEngine/JIT/CMakeLists.txt
+++ b/lib/ExecutionEngine/JIT/CMakeLists.txt
@@ -17,4 +17,5 @@ add_llvm_library_dependencies(LLVMJIT
LLVMRuntimeDyld
LLVMSupport
LLVMTarget
+ LLVMCodeGen
)
diff --git a/utils/unittest/CMakeLists.txt b/utils/unittest/CMakeLists.txt
index 73491f0..d882de2 100644
--- a/utils/unittest/CMakeLists.txt
+++ b/utils/unittest/CMakeLists.txt
@@ -40,3 +40,11 @@ add_llvm_library(gtest
add_llvm_library(gtest_main
UnitTestMain/TestMain.cpp
)
+
+add_llvm_library_dependencies(gtest
+ LLVMSupport
+ )
+
+add_llvm_library_dependencies(gtest_main
+ gtest
+ )