title: OpenCV as a static library (cmake options)
body: <p>I want to use OpenCV library in an embedded system and I need to compile my project using OpenCV as a static library.</p>
  
  <p>How can I create the library using cmake options ?</p>