mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
Fix cmake build on non-x86 targets. Patch by
Xerxes Rånby. llvm-svn: 79419
This commit is contained in:
parent
edbfae6370
commit
0ecc3aff50
@ -59,11 +59,9 @@ 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.
|
||||
list(APPEND expanded_components "LLVMX86CodeGen")
|
||||
list(APPEND expanded_components "LLVM${LLVM_NATIVE_ARCH}CodeGen")
|
||||
elseif( c STREQUAL "nativecodegen" )
|
||||
# TODO: we assume ARCH is X86.
|
||||
list(APPEND expanded_components "LLVMX86CodeGen")
|
||||
list(APPEND expanded_components "LLVM${LLVM_NATIVE_ARCH}CodeGen")
|
||||
elseif( c STREQUAL "backend" )
|
||||
# same case as in `native'.
|
||||
elseif( c STREQUAL "engine" )
|
||||
|
Loading…
Reference in New Issue
Block a user