Skip to content

Commit e49064b

Browse files
Avoid hardcode linking to CUDA include dir in fpga/gpu
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
1 parent 2c3e2f8 commit e49064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fpga/gpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set_source_files_properties(src/gpu.cpp PROPERTIES
2020

2121
target_include_directories(villas-gpu
2222
PRIVATE
23-
/opt/cuda/include
23+
${CUDA_INCLUDE_DIRS}
2424
)
2525

2626
target_link_libraries(villas-gpu

0 commit comments

Comments
 (0)