summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2009-08-17 01:41:46 +0000
committerOscar Fuentes <ofv@wanadoo.es>2009-08-17 01:41:46 +0000
commit22624b1d8e7f8c9a4138e90c4e798b85b1b3d7c8 (patch)
treeef47d0da60abe08afdd4b569015e85cc973ddc56 /cmake
parent2ad40a3663cb06c5f6d89a22933e22dc8b985574 (diff)
downloadllvm-22624b1d8e7f8c9a4138e90c4e798b85b1b3d7c8.tar.gz
llvm-22624b1d8e7f8c9a4138e90c4e798b85b1b3d7c8.tar.bz2
llvm-22624b1d8e7f8c9a4138e90c4e798b85b1b3d7c8.tar.xz
CMake: LLVMConfig assigns LLVMX86 to the `native' component
name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/modules/LLVMConfig.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/LLVMConfig.cmake b/cmake/modules/LLVMConfig.cmake
index 1d8d090986..7c75dd029e 100755
--- a/cmake/modules/LLVMConfig.cmake
+++ b/cmake/modules/LLVMConfig.cmake
@@ -59,8 +59,8 @@ function(explicit_map_components_to_libraries out_libs)
list(APPEND expanded_components "LLVM${c}Info")
endif()
elseif( c STREQUAL "native" )
- # TODO: we assume ARCH is X86. In this case, we must use nativecodegen
- # component instead. Do nothing, as in llvm-config script.
+ # TODO: we assume ARCH is X86.
+ list(APPEND expanded_components "LLVMX86CodeGen")
elseif( c STREQUAL "nativecodegen" )
# TODO: we assume ARCH is X86.
list(APPEND expanded_components "LLVMX86CodeGen")