In the CMakeLists: FIND_PACKAGE(OPENCV REQUIRED)<br><br>CMake runs smoothly, but when VS tries to compile, it can&#39;t find by itself where, for instance, cv.h is<br>By manually adding to VS VC++ include directories where the OpenCV includes are (which CMake knows, for instance, in the OPENCV_<br clear="all">
INCLUDE_DIR_CV variable, that is well filled automaticly by CMake), things work.<br><br>I was wondering if this manual step could be avoided, am i missing something?<br><br>thank you,<br><br>-- <br>Dario Figueira