We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e49064b commit 180ea6bCopy full SHA for 180ea6b
fpga/gpu/CMakeLists.txt
@@ -6,6 +6,19 @@
6
7
add_subdirectory(thirdparty/gdrcopy)
8
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
17
18
+if (TARGET copybw)
19
+ set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/gdrcopy/copybw.cpp PROPERTIES LANGUAGE CXX)
20
21
22
add_library(villas-gpu
23
SHARED
24
src/gpu.cpp
0 commit comments