Skip to content

Commit 5f9f469

Browse files
committed
[SYCL][CUDA] Add missing dependency on OpenCL headers
Signed-off-by: Andrea Bocci <[email protected]>
1 parent 9d348eb commit 5f9f469

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sycl/plugins/cuda/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ add_library(pi_cuda SHARED
2121
"pi_cuda.cpp"
2222
)
2323

24+
add_dependencies(pi_cuda
25+
ocl-headers
26+
)
27+
2428
add_dependencies(sycl-toolchain pi_cuda)
2529

2630
set_target_properties(pi_cuda PROPERTIES LINKER_LANGUAGE CXX)

0 commit comments

Comments
 (0)