[Openmp-commits] [PATCH] D149617: [OpenMP] Make `libomptarget` link against `libomp`

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 1 16:01:56 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdc049a4ea681: [OpenMP] Make `libomptarget` link against `libomp` (authored by tianshilei1992).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149617/new/

https://reviews.llvm.org/D149617

Files:
  openmp/libomptarget/src/CMakeLists.txt


Index: openmp/libomptarget/src/CMakeLists.txt
===================================================================
--- openmp/libomptarget/src/CMakeLists.txt
+++ openmp/libomptarget/src/CMakeLists.txt
@@ -31,6 +31,10 @@
   Support
   Object
 
+  LINK_LIBS
+  PUBLIC
+  omp
+
   NO_INSTALL_RPATH
 )
 target_include_directories(omptarget PRIVATE ${LIBOMPTARGET_INCLUDE_DIR})


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149617.518588.patch
Type: text/x-patch
Size: 372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230501/da82b2ba/attachment.bin>


More information about the Openmp-commits mailing list