OCV_OPTION(WITH_AVFOUNDATION"Use AVFoundation for Video I/O"ONIFIOS)
OCV_OPTION(WITH_CARBON"Use Carbon for UI instead of Cocoa"OFFIFAPPLE)
OCV_OPTION(WITH_CUBLAS"Include NVidia Cuda Basic Linear Algebra Subprograms (BLAS) library support"OFFIF(CMAKE_VERSIONVERSION_GREATER"2.8"ANDNOTANDROIDANDNOTIOS))
OCV_OPTION(WITH_CUDA"Include NVidia Cuda Runtime support"ONIF(CMAKE_VERSIONVERSION_GREATER"2.8"ANDNOTANDROIDANDNOTIOS))
OCV_OPTION(WITH_CUFFT"Include NVidia Cuda Fast Fourier Transform (FFT) library support"ONIF(CMAKE_VERSIONVERSION_GREATER"2.8"ANDNOTANDROIDANDNOTIOS))
OCV_OPTION(WITH_CUBLAS"Include NVidia Cuda Basic Linear Algebra Subprograms (BLAS) library support"OFFIF(CMAKE_VERSIONVERSION_GREATER"2.8"ANDNOTANDROIDANDNOTIOS))
OCV_OPTION(WITH_NVCUVID"Include NVidia Video Decoding library support"OFFIF(CMAKE_VERSIONVERSION_GREATER"2.8"ANDNOTANDROIDANDNOTIOSANDNOTAPPLE))
message(FATAL_ERROR"OpenCV static library compiled with CUDA ${OpenCV_CUDA_VERSION} support. Please, use the same version or rebuild OpenCV with CUDA ${CUDA_VERSION_STRING}")
if(WIN32)
message(FATAL_ERROR"OpenCV static library was compiled with CUDA ${OpenCV_CUDA_VERSION} support. Please, use the same version or rebuild OpenCV with CUDA ${CUDA_VERSION_STRING}")
else()
message(FATAL_ERROR"OpenCV library for CARMA was compiled with CUDA ${OpenCV_CUDA_VERSION} support. Please, use the same version or rebuild OpenCV with CUDA ${CUDA_VERSION_STRING}")