Commit b5a8077
committed
Links CUDA libraries when CUDA is enabled
This commit ensures that the example project links against the CUDA
runtime libraries when Open3D has been compiled with CUDA support.
It checks for the BUILD_CUDA_MODULE definition in the
INTERFACE_COMPILE_DEFINITIONS of the Open3D target and, if present,
links against the necessary CUDA libraries.1 parent c45b03a commit b5a8077
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | | - | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
| |||
0 commit comments