First time here? Check out the FAQ!
answered Oct 1 '14
To the CMakeLists.txt you created add:
include_directories( ${OpenCV_INCLUDE_DIRS} )