[CMake] CMake + OpenCV + Visial Studio 2005 (V8)

Dario Figueira wurmdario at gmail.com
Fri Feb 29 14:59:11 EST 2008


In the CMakeLists: FIND_PACKAGE(OPENCV REQUIRED)

CMake runs smoothly, but when VS tries to compile, it can't find by itself
where, for instance, cv.h is
By manually adding to VS VC++ include directories where the OpenCV includes
are (which CMake knows, for instance, in the OPENCV_
INCLUDE_DIR_CV variable, that is well filled automaticly by CMake), things
work.

I was wondering if this manual step could be avoided, am i missing
something?

thank you,

-- 
Dario Figueira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080229/d9f1a903/attachment.html


More information about the CMake mailing list