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 /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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake