File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
unified-runtime/source/adapters Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,14 @@ add_library(cudadrv SHARED IMPORTED GLOBAL)
63
63
if (WIN32 )
64
64
set_target_properties (
65
65
cudadrv PROPERTIES
66
- IMPORTED_IMPLIB ${CUDA_cuda_driver_LIBRARY}
67
- INTERFACE_INCLUDE_DIRECTORIES ${CUDAToolkit_INCLUDE_DIRS}
66
+ IMPORTED_IMPLIB " ${CUDA_cuda_driver_LIBRARY} "
67
+ INTERFACE_INCLUDE_DIRECTORIES " ${CUDAToolkit_INCLUDE_DIRS} "
68
68
)
69
69
else ()
70
70
set_target_properties (
71
71
cudadrv PROPERTIES
72
- IMPORTED_LOCATION ${CUDA_cuda_driver_LIBRARY}
73
- INTERFACE_INCLUDE_DIRECTORIES ${CUDAToolkit_INCLUDE_DIRS}
72
+ IMPORTED_LOCATION " ${CUDA_cuda_driver_LIBRARY} "
73
+ INTERFACE_INCLUDE_DIRECTORIES " ${CUDAToolkit_INCLUDE_DIRS} "
74
74
)
75
75
endif ()
76
76
@@ -121,4 +121,4 @@ target_link_libraries(${TARGET_NAME} PRIVATE
121
121
122
122
target_include_directories (${TARGET_NAME} PRIVATE
123
123
"${CMAKE_CURRENT_SOURCE_DIR} /../../"
124
- )
124
+ )
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ if (NOT TARGET cudadrv)
24
24
add_library (cudadrv SHARED IMPORTED GLOBAL )
25
25
set_target_properties (
26
26
cudadrv PROPERTIES
27
- IMPORTED_LOCATION ${CUDA_cuda_driver_LIBRARY}
28
- INTERFACE_INCLUDE_DIRECTORIES ${CUDAToolkit_INCLUDE_DIRS}
27
+ IMPORTED_LOCATION " ${CUDA_cuda_driver_LIBRARY} "
28
+ INTERFACE_INCLUDE_DIRECTORIES " ${CUDAToolkit_INCLUDE_DIRS} "
29
29
)
30
30
endif ()
31
31
You can’t perform that action at this time.
0 commit comments