Skip to content

Commit 2a13633

Browse files
committed
[NFC][ClangOffloadWrapper] Add missing library
Otherwise, with BUILD_SHARED_LIBS=ON we get: /usr/bin/ld: tools/clang/tools/clang-offload-wrapper/CMakeFiles/clang-offload-wrapper.dir/ClangOffloadWrapper.cpp.o: undefined reference to symbol '_ZN4llvm10offloading18wrapOpenMPBinariesERNS_6ModuleENS_8ArrayRefINS3_IcEEEESt4pairIPNS_14GlobalVariableES8_ENS_9StringRefEb'
1 parent 04e49d8 commit 2a13633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/tools/clang-offload-wrapper/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(LLVM_LINK_COMPONENTS BitWriter BinaryFormat Core Object Support TransformUtils TargetParser)
1+
set(LLVM_LINK_COMPONENTS BitWriter BinaryFormat Core FrontendOffloading Object Support TransformUtils TargetParser)
22

33
add_clang_tool(clang-offload-wrapper
44
ClangOffloadWrapper.cpp

0 commit comments

Comments
 (0)