Skip to content

Commit 180ea6b

Browse files
This is a fast and dirty solution for testing a fix
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
1 parent e49064b commit 180ea6b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

fpga/gpu/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@
66

77
add_subdirectory(thirdparty/gdrcopy)
88

9+
# Patch gdrcopy wrong source file treatment
10+
if (TARGET basic)
11+
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/gdrcopy/basic.cpp PROPERTIES LANGUAGE CXX)
12+
endif()
13+
14+
if (TARGET validate)
15+
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/gdrcopy/validate.cpp PROPERTIES LANGUAGE CXX)
16+
endif()
17+
18+
if (TARGET copybw)
19+
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/gdrcopy/copybw.cpp PROPERTIES LANGUAGE CXX)
20+
endif()
21+
922
add_library(villas-gpu
1023
SHARED
1124
src/gpu.cpp

0 commit comments

Comments
 (0)