1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(ELFOptionsTableGen)
6 set(imported_libs ZLIB::ZLIB)
10 if(TARGET zstd::libzstd_shared AND NOT LLVM_USE_STATIC_ZSTD)
11 set(zstd_target zstd::libzstd_shared)
13 set(zstd_target zstd::libzstd_static)
18 list(APPEND imported_libs ${zstd_target})
21 add_lld_library(lldELF
62 ${LLVM_TARGETS_TO_BUILD}