• Robert Maynard's avatar
    FindCUDA: CUDA_LIBRARIES doesn't contain raw `-pthread` · 46371132
    Robert Maynard authored
    If a person tried to pass `CUDA_LIBRARIES` to nvcc compiler it could
    fail as it might have `-pthread` which nvcc doesn't support. Instead
    we now use the `Threads::Threads` so that nvcc gets the correct
    `-Xcompiler -pthread` flag.
    46371132
FindCUDA.cmake 84.7 KB