mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
719ca167a6
Summary: D68319 uses `MachO::getCPUTypeFromArchitecture` and without this builds with `-DBUILD_SHARED_LIBS=ON` fail. Reviewers: alexshap Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68594 llvm-svn: 373974
22 lines
383 B
CMake
22 lines
383 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Object
|
|
Option
|
|
Support
|
|
TextAPI
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS LipoOpts.td)
|
|
tablegen(LLVM LipoOpts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(LipoOptsTableGen)
|
|
|
|
add_llvm_tool(llvm-lipo
|
|
llvm-lipo.cpp
|
|
DEPENDS
|
|
LipoOptsTableGen
|
|
)
|
|
|
|
if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
|
|
add_llvm_tool_symlink(lipo llvm-lipo)
|
|
endif()
|