blob: 144edf5ab60c048574ef97375d8fd80a6953d788 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS BitWriter Core Object Support TransformUtils)
add_clang_tool(clang-offload-wrapper
ClangOffloadWrapper.cpp
DEPENDS
intrinsics_gen
)
set(CLANG_OFFLOAD_WRAPPER_LIB_DEPS
clangBasic
)
add_dependencies(clang clang-offload-wrapper)
clang_target_link_libraries(clang-offload-wrapper
PRIVATE
${CLANG_OFFLOAD_WRAPPER_LIB_DEPS}
)