[yaml2obj/obj2yaml] - Do not trigger llvm_unreachable when dumping/parsing relocation...
[llvm-complete.git] / tools / gold / CMakeLists.txt
blob72f76558c088c4d9925ddafba38156994a61b46e
1 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gold.exports)
3 if( LLVM_ENABLE_PIC AND LLVM_BINUTILS_INCDIR )
4   include_directories( ${LLVM_BINUTILS_INCDIR} )
6   set(LLVM_LINK_COMPONENTS
7      ${LLVM_TARGETS_TO_BUILD}
8      Linker
9      LTO
10      BitWriter
11      IPO
12      )
14   add_llvm_library(LLVMgold MODULE
15     gold-plugin.cpp
16     )
18 endif()