mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-28 16:26:18 +00:00
[CMake] Don't use OBJLIB on Xcode.
I got a few reports it didn't work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246629 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e1bb461f27
commit
11caed9e12
@ -74,8 +74,10 @@ macro(add_tablegen target project)
|
||||
set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})
|
||||
set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen)
|
||||
|
||||
# FIXME: It leaks to user, callee of add_tablegen.
|
||||
set(LLVM_ENABLE_OBJLIB ON)
|
||||
if(NOT XCODE)
|
||||
# FIXME: It leaks to user, callee of add_tablegen.
|
||||
set(LLVM_ENABLE_OBJLIB ON)
|
||||
endif()
|
||||
|
||||
add_llvm_utility(
|
||||
${target} ${ARGN}
|
||||
|
Loading…
x
Reference in New Issue
Block a user