Skip to content

Commit

Permalink
ENH: Replace deprecated PUBLIC_LINK with PUBLIC
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexyPellegrini committed May 31, 2022
1 parent 2999fc3 commit 1520198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ set(CudaCommon_Kernels
)

itk_module_add_library(CudaCommon ${CudaCommon_SRCS} ${CudaCommon_Kernels})
target_link_libraries(CudaCommon LINK_PUBLIC CUDA::cudart CUDA::cuda_driver)
target_link_libraries(CudaCommon PUBLIC CUDA::cudart CUDA::cuda_driver)
target_include_directories(CudaCommon PUBLIC ${CUDAToolkit_INCLUDE_DIRS})
set_property(TARGET CudaCommon PROPERTY CUDA_STANDARD ${CMAKE_CXX_STANDARD})

0 comments on commit 1520198

Please sign in to comment.