From 21b1d55c04b2d52b6b8af9b4b5dbdad39fa1d765 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Wed, 25 Jan 2023 14:04:25 -0600 Subject: [PATCH] [Libomptarget] Add correct relative path for the nexgen plugin Summary: I forgot that this file "borrowed" the source from the other file tree. Fix that. --- openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt index 5706590..d51403d 100644 --- a/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt +++ b/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt @@ -48,8 +48,8 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND AND NOT LIBOMPTARGET_FORCE_DLOPEN_LIBCUDA) target_link_libraries(omptarget.rtl.cuda.nextgen PRIVATE CUDA::cuda_driver) else() libomptarget_say("Building CUDA plugin for dlopened libcuda") - target_include_directories(omptarget.rtl.cuda.nextgen PRIVATE dynamic_cuda) - target_sources(omptarget.rtl.cuda.nextgen PRIVATE dynamic_cuda/cuda.cpp) + target_include_directories(omptarget.rtl.cuda.nextgen PRIVATE ../../plugins/cuda/dynamic_cuda) + target_sources(omptarget.rtl.cuda.nextgen PRIVATE ../../plugins/cuda/dynamic_cuda/cuda.cpp) endif() add_dependencies(omptarget.rtl.cuda.nextgen omptarget.devicertl.nvptx) -- 2.7.4