how to detect if xfeatures2d is installed
Hej all,
How do I, in the CMakeLists.txt figure out if the current install of openCV has xfeatures2D
installed ?
Can I do something along the lines of :
find_package(OpenCV REQUIRED)
if(OPENCV_XFEATURES2D)
do stuf
endif
have you try find_package(OpenCV REQUIRED xfeatures2d) ?
Nope I haven't but my problem is more that I want to include certain files and certain part of the code only if xfeature2d is found.