llvm.org GIT mirror llvm / dfcb9bf
Fix cmake build on non-x86 targets. Patch by Xerxes Rånby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79419 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 10 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
5858 list(APPEND expanded_components "LLVM${c}Info")
5959 endif()
6060 elseif( c STREQUAL "native" )
61 # TODO: we assume ARCH is X86.
62 list(APPEND expanded_components "LLVMX86CodeGen")
61 list(APPEND expanded_components "LLVM${LLVM_NATIVE_ARCH}CodeGen")
6362 elseif( c STREQUAL "nativecodegen" )
64 # TODO: we assume ARCH is X86.
65 list(APPEND expanded_components "LLVMX86CodeGen")
63 list(APPEND expanded_components "LLVM${LLVM_NATIVE_ARCH}CodeGen")
6664 elseif( c STREQUAL "backend" )
6765 # same case as in `native'.
6866 elseif( c STREQUAL "engine" )