--- ./projects/openmp/libomptarget/plugins/cuda/CMakeLists.txt.orig	2024-10-05 18:01:40.220404333 -0700
+++ ./projects/openmp/libomptarget/plugins/cuda/CMakeLists.txt	2024-10-05 18:02:15.808401271 -0700
@@ -86,7 +86,6 @@
     NO_INSTALL_RPATH
   )
 endif()
-add_dependencies(omptarget.rtl.cuda omptarget.devicertl.nvptx)
 
 # Install plugin under the lib destination folder.
 install(TARGETS omptarget.rtl.cuda LIBRARY DESTINATION "${OPENMP_INSTALL_LIBDIR}")
--- ./projects/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt.orig	2024-10-05 17:57:33.521425557 -0700
+++ ./projects/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt	2024-10-05 18:00:49.531408694 -0700
@@ -92,7 +92,6 @@
 
   NO_INSTALL_RPATH
 )
-add_dependencies(omptarget.rtl.amdgpu omptarget.devicertl.amdgpu)
 
 target_include_directories(
   omptarget.rtl.amdgpu
