Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / llvm / tools / gold / CMakeLists.txt
blob5c78529e38f48aa9000abf78420d5a1cea99ff65
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      TargetParser
13      )
15   add_llvm_library(LLVMgold MODULE INSTALL_WITH_TOOLCHAIN
16     gold-plugin.cpp
17     )
19 endif()