1 set(LLVM_LINK_COMPONENTS Support)
3 add_bolt_tool(merge-fdata
6 DISABLE_LLVM_LINK_LLVM_DYLIB
11 set_target_properties(merge-fdata PROPERTIES FOLDER "BOLT")
13 add_dependencies(bolt merge-fdata)
15 ${CMAKE_BINARY_DIR}/bin/merge-fdata
16 DESTINATION ${CMAKE_INSTALL_BINDIR}
20 # Emit relocations for BOLT meta test (bolt/test/runtime/meta-merge-fdata.test)
21 if (BOLT_INCLUDE_TESTS AND UNIX AND NOT APPLE)
22 target_link_options(merge-fdata PRIVATE LINKER:--emit-relocs)