title: Finding package OpenCV with CMake
body: <p>I've done as follows:</p>
  
  <p>I have set OpenCV_DIR variable to my build path set to $(OPENCV_ROOT)/build/x86/vc11/lib.</p>
  
  <p>In my CMakeLists.txt I call find_package function:</p>
  
  <pre><code>find_package( OpenCV REQUIRED )
  </code></pre>
  
  <p>Some variables connected to OpenCV should be set, but they are set incorrectly. Ex. OpenCV_INCLUDE_DIRS should be set to </p>
  
  <pre><code>$(OPENCV_ROOT)/build/include 
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$(OPENCV_ROOT)/include 
  </code></pre>
  
  <p>but instead of it it's set to</p>
  
  <pre><code>$(OPENCV_ROOT)/build/x86/vc11/lib/include;$(OPENCV_ROOT)/x86/vc11/lib/include/opencv
  </code></pre>
  
  <p>What to do to have the right paths? </p>