Skip to content

CUDA: Perform nvcc-specific CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES detection only on nvcc

Raul Tambre requested to merge tambre/cmake:cuda_toolkit_dirs into master

Clang doesn't provide for an easy way to do the same. As this variable is obsoleted by FindCUDAToolkit, it probably makes sense to keep it only for NVCC.

Merge request reports