I want to use OpenCV 3 through CMakeLists.txt, and the CMakeLists.txt is as following:
find OpenCV in: /usr/local/include/opencv;/usr/local/include
But the path of OpenCV 3 is /usr/local/opencv3. It seems that
the specified paths didn't work, and CMakeLists.txt use the default opencv 2.4 instead of OpenCV 3.
How to solve this problem? I have worked on it all day.