Hello,
I'm having some trouble to use a cmake script correctly and i don't know
why.
The cmake script come from the openCV library (you can find it here:
http://opencv.willowgarage.com/wiki/Getting_started?action=AttachFiledo=gettarget=FindOpenCV.cmake)
and it search for include and library
2009/3/9 Benoit benpaka.s...@gmail.com:
Hello,
I'm having some trouble to use a cmake script correctly and i don't know
why.
[...]
Does anyone know why the result of
OpenCV_HIGHGUI_INCLUDE_DIR=/usr/include/opencv and not
/opt/opencv/1.1.0/include/opencv
even if both files
Hi Benoit,
The documentation of
find_pathhttp://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_pathspecifies
the order in which paths are searched. If you want to force the
/opt path to be searched first, you should maybe try
find_path(VAR NAMES name PATHS ${NONSTANDARD_PATHS}
I was also fooled by that sentence some time ago, but careful reading of
what the doc says after If NO_DEFAULT_PATH is not specified, the search
process is as follows: suggests something different.
What I currently do to solve the issue of nonstandard package locations is
to use an environment