update: Cuda, NVIDIA Web Driver.
[ 25%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o
nvcc fatal : The version ('70002') of the host compiler ('Apple clang') is not supported
CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:206 (message):
Error generating
/Users/yndk/Desktop/github/opencv/myBuild-make/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o
NVIDIA compilation is not compatible with OS X El Capitane.
There is a way.
https://devtalk.nvidia.com/default/topic/879431/nvcc-amp-clang-7-no-typo-here-
But, I don't like it.
So disable CUDA.
There is a way.
https://devtalk.nvidia.com/default/topic/879431/nvcc-amp-clang-7-no-typo-here-
But, I don't like it.
So disable CUDA.
Done.