xfeatures2d does not compile without cuda (Bug #3886)
Description
[this commit](https://github.com/ernest-galbrun/opencv_contrib/commit/b757d6cc83e48286f59285f9693e127bdc5d33dc) added a dependancy to opencv_cudaarithm, so xfeatures2d will be unavailable on a machine without cuda support.
making it optional, like:
ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d opencv_shape opencv_highgui opencv_videoio opencv_ml
OPTIONAL opencv_cudaarithm )
would fix it, but there might be a better idea.
Associated revisions
Merge pull request #3886 from beahacker:2.4
History
Updated by Steven Puttemans over 10 years ago
Jup a bug :) Once the fix for CUDA built is in, I am up for fixing it!
Updated by Steven Puttemans over 10 years ago
Someone beat me to it
https://github.com/Itseez/opencv_contrib/pull/81/files
Updated by Andrey Pavlenko over 10 years ago
- Assignee deleted (
Maria Dimashova)
Updated by Maksim Shabunin almost 10 years ago
- Status changed from New to Done
- Pull request set to https://github.com/Itseez/opencv_contrib/pull/81
- % Done changed from 0 to 100