[CMake] FindOpenCV.cmake doesn't pick up /usr/local installation FIRST

Dat Chu dattanchu at gmail.com
Tue Sep 8 18:04:18 EDT 2009


I must be missing something very obvious. The FindOpenCV.cmake package
doesn't seem to respect that I have a custom-built version of OpenCV
under /usr/local and goes ahead to grab the ones in /usr always.

Also, it outputs

Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path

in the message box. Why would it outputs 6 times this simple message?

Dat Chu


More information about the CMake mailing list