[CMake] problem with cmake script.

Eric Noulard eric.noulard at gmail.com
Mon Mar 9 05:54:24 EDT 2009


2009/3/9 Benoit <benpaka.spam at 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 /opt/opencv/1.1.0/include/opencv/highgui.h
> and/usr/include/opencv/highgui.h  exist in my path.

Nope but did you carefully read  the help of find_path
concerning the rule used for search path?

http://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_path

may be the explanation is already there.

-- 
Erk


More information about the CMake mailing list