mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-18 22:10:50 +01:00
22 lines
560 B
CMake
22 lines
560 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
watershedSegmentationNPP.cpp
|
|
)
|
|
|
|
# Add target for watershedSegmentationNPP
|
|
add_executable(watershedSegmentationNPP ${SRC_FILES})
|
|
set_target_properties(watershedSegmentationNPP PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
|
|
|
target_include_directories(watershedSegmentationNPP PRIVATE
|
|
${CUDAToolkit_INCLUDE_DIRS}
|
|
)
|
|
target_link_libraries(watershedSegmentationNPP PRIVATE
|
|
CUDA::nppc
|
|
CUDA::nppisu
|
|
CUDA::nppif
|
|
CUDA::cudart
|
|
)
|