[Openmp-commits] [openmp] 909ea28 - [Libomptarget] Specificall add LLVM include dirs in plugins

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Sun Mar 24 12:29:52 PDT 2024


Author: Joseph Huber
Date: 2024-03-24T14:29:39-05:00
New Revision: 909ea28ac60760a0e9b39369b2f54a4e8f1daec9

URL: https://github.com/llvm/llvm-project/commit/909ea28ac60760a0e9b39369b2f54a4e8f1daec9
DIFF: https://github.com/llvm/llvm-project/commit/909ea28ac60760a0e9b39369b2f54a4e8f1daec9.diff

LOG: [Libomptarget] Specificall add LLVM include dirs in plugins

Added: 
    

Modified: 
    openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
index 0420d0e6f1f885..b84f3d7b137cae 100644
--- a/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
+++ b/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
@@ -60,6 +60,7 @@ target_link_options(PluginCommon PUBLIC ${offload_link_flags})
 
 target_include_directories(PluginCommon PUBLIC 
   ${CMAKE_CURRENT_SOURCE_DIR}/include
+  ${LIBOMPTARGET_LLVM_INCLUDE_DIRS}
   ${LIBOMPTARGET_INCLUDE_DIR}
 )
 


        


More information about the Openmp-commits mailing list