mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
added CUDA_DISABLER preprocessor commands
This commit is contained in:
@@ -48,7 +48,7 @@ using namespace cv;
|
||||
using namespace cv::gpu;
|
||||
using namespace std;
|
||||
|
||||
#if !defined (HAVE_CUDA)
|
||||
#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
|
||||
|
||||
cv::gpu::CascadeClassifier_GPU::CascadeClassifier_GPU() { throw_nogpu(); }
|
||||
cv::gpu::CascadeClassifier_GPU::CascadeClassifier_GPU(const string&) { throw_nogpu(); }
|
||||
|
||||
Reference in New Issue
Block a user