mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-28 22:37:18 +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
1fb7e202d9
commit
d4b21935cc
@ -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