aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-26 15:37:00 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-26 15:37:00 +0000
commit894788144493f0621f2821dc730f11a2bd7eaaf5 (patch)
tree714a6cd7735bd64570e5681b3c5ea831367215da
parentc7077c701541f7d07d41f3926f7ea9edd204347c (diff)
downloadexternal_llvm-894788144493f0621f2821dc730f11a2bd7eaaf5.zip
external_llvm-894788144493f0621f2821dc730f11a2bd7eaaf5.tar.gz
external_llvm-894788144493f0621f2821dc730f11a2bd7eaaf5.tar.bz2
Fix linking of llvm-ld and lli with CMake, from Xerxes RĂ„nby
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74285 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/CMakeLists.txt2
-rw-r--r--lib/CodeGen/CMakeLists.txt2
-rw-r--r--lib/Support/CMakeLists.txt2
-rw-r--r--lib/Transforms/Scalar/CMakeLists.txt2
-rw-r--r--lib/Transforms/Utils/CMakeLists.txt2
5 files changed, 10 insertions, 0 deletions
diff --git a/lib/Analysis/CMakeLists.txt b/lib/Analysis/CMakeLists.txt
index cf2f434..6f2a06c 100644
--- a/lib/Analysis/CMakeLists.txt
+++ b/lib/Analysis/CMakeLists.txt
@@ -33,3 +33,5 @@ add_llvm_library(LLVMAnalysis
Trace.cpp
ValueTracking.cpp
)
+
+target_link_libraries (LLVMAnalysis LLVMSupport)
diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt
index 5ba8b3c..eeefe31 100644
--- a/lib/CodeGen/CMakeLists.txt
+++ b/lib/CodeGen/CMakeLists.txt
@@ -63,3 +63,5 @@ add_llvm_library(LLVMCodeGen
VirtRegMap.cpp
VirtRegRewriter.cpp
)
+
+target_link_libraries (LLVMCodeGen LLVMCore)
diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt
index e7a76cc..f26c2c0 100644
--- a/lib/Support/CMakeLists.txt
+++ b/lib/Support/CMakeLists.txt
@@ -30,3 +30,5 @@ add_llvm_library(LLVMSupport
Triple.cpp
raw_ostream.cpp
)
+
+target_link_libraries (LLVMSupport LLVMSystem)
diff --git a/lib/Transforms/Scalar/CMakeLists.txt b/lib/Transforms/Scalar/CMakeLists.txt
index 7a7c48b..8a8f83f 100644
--- a/lib/Transforms/Scalar/CMakeLists.txt
+++ b/lib/Transforms/Scalar/CMakeLists.txt
@@ -31,3 +31,5 @@ add_llvm_library(LLVMScalarOpts
TailDuplication.cpp
TailRecursionElimination.cpp
)
+
+target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
diff --git a/lib/Transforms/Utils/CMakeLists.txt b/lib/Transforms/Utils/CMakeLists.txt
index 6628b4b..d68bf02 100644
--- a/lib/Transforms/Utils/CMakeLists.txt
+++ b/lib/Transforms/Utils/CMakeLists.txt
@@ -25,3 +25,5 @@ add_llvm_library(LLVMTransformUtils
ValueMapper.cpp
InstructionNamer.cpp
)
+
+target_link_libraries (LLVMTransformUtils LLVMSupport)