We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d487fd commit 1f08f40Copy full SHA for 1f08f40
offload/liboffload/CMakeLists.txt
@@ -1,8 +1,14 @@
1
add_subdirectory(API)
2
3
-add_llvm_library(LLVMOffload SHARED
4
- src/OffloadLib.cpp
5
- src/OffloadImpl.cpp)
+add_llvm_library(
+ LLVMOffload SHARED
+ src/OffloadLib.cpp
6
+ src/OffloadImpl.cpp
7
+
8
+ LINK_COMPONENTS
9
+ FrontendOpenMP
10
+ Support
11
+ )
12
13
foreach(plugin IN LISTS LIBOMPTARGET_PLUGINS_TO_BUILD)
14
target_link_libraries(LLVMOffload PRIVATE omptarget.rtl.${plugin})
offload/tools/offload-tblgen/CMakeLists.txt
@@ -7,6 +7,8 @@
##===----------------------------------------------------------------------===##
include(TableGen)
+set(LLVM_LINK_COMPONENTS Support)
add_tablegen(offload-tblgen OFFLOAD
EXPORT OFFLOAD
APIGen.cpp
0 commit comments