diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5facb4c..b936a79 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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})