message: CMake function `visionaray_add_cuda_executable`
diff: @@ -38,6 +38,19 @@ function(visionaray_add_executable name)
  endif()
  endfunction()
  +function(visionaray_add_cuda_executable name)
  + if(NOT CUDA_FOUND OR NOT VSNRAY_ENABLE_CUDA)
  + return()
  + endif()
  +
  + cuda_add_executable(${name} ${ARGN})
  + target_link_libraries(${name} ${__VSNRAY_LINK_LIBRARIES})
  +
  + if(VSNRAY_MACOSX_BUNDLE)
  + set_target_properties(${name} PROPERTIES MACOSX_BUNDLE TRUE)
  + endif()
  +endfunction()
  +
  function(visionaray_add_library name)
  add_library(${name} ${ARGN})
  target_link_libraries(${name} ${__VSNRAY_LINK_LIBRARIES})
  