mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
Fix CMake build to use target_link_libraries. Patch by Sidney Manning!
llvm-svn: 159165
This commit is contained in:
parent
369b9f997c
commit
e1db0daf25
@ -1,22 +1,19 @@
|
||||
set(LLVM_USED_LIBS
|
||||
lldPasses
|
||||
lldMachO
|
||||
lldPECOFF
|
||||
lldELF
|
||||
lldNative
|
||||
lldYAML
|
||||
lldReaderWriter
|
||||
lldCore
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
support
|
||||
Object
|
||||
)
|
||||
|
||||
add_lld_executable(lld-core
|
||||
lld-core.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(lld-core
|
||||
lldPasses
|
||||
lldMachO
|
||||
lldPECOFF
|
||||
lldELF
|
||||
lldNative
|
||||
lldReaderWriter
|
||||
lldYAML
|
||||
lldCore
|
||||
LLVMObject
|
||||
)
|
||||
|
||||
install(TARGETS lld-core
|
||||
RUNTIME DESTINATION bin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user