cuda_compile(CudaKernel src/CUDA.cu)
cuda_add_library(CudaKernels src/CUDA.cu)
# COMPILE AND LINK
cuda_add_executable(Mandelbrot_set $(SOURCE_FILES) CudaKernels)
target_link_libraries(Mandelbrot_set ${GD_LIBRARIES} ${CUDA_LIBRARIES})
cuda_add_library(CudaKernels src/CUDA.cu)
# COMPILE AND LINK
cuda_add_executable(Mandelbrot_set ${SOURCE_FILES})
target_link_libraries(Mandelbrot_set CudaKernels ${GD_LIBRARIES} ${CUDA_LIBRARIES})