Ask Your Question

Revision history [back]

In my experience, the FindOpenCV.cmake files floating around are incompatible with OpenCV 2.4+. If that's the version of OpenCV you're working with, then try this one:

https://code.google.com/p/openfabmap/source/browse/branches/openfabmap2-dev/FindOpenCV.cmake?r=96

I've had some success with it when building on Linux with gcc. The project is licensed under GPLv3.