mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
[CMake] Don't use OBJLIB on Xcode.
I got a few reports it didn't work. llvm-svn: 246629
This commit is contained in:
parent
c3d9501be6
commit
5a0f275147
@ -74,8 +74,10 @@ macro(add_tablegen target project)
|
|||||||
set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})
|
set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})
|
||||||
set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen)
|
set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen)
|
||||||
|
|
||||||
# FIXME: It leaks to user, callee of add_tablegen.
|
if(NOT XCODE)
|
||||||
set(LLVM_ENABLE_OBJLIB ON)
|
# FIXME: It leaks to user, callee of add_tablegen.
|
||||||
|
set(LLVM_ENABLE_OBJLIB ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_llvm_utility(
|
add_llvm_utility(
|
||||||
${target} ${ARGN}
|
${target} ${ARGN}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user