title: How do I tell cmake I want my project to link libraries statically?
body: <p>I'm trying to build an OpenCV-based project using CMake, running on Linux. So far my <code>CMakeLists.txt</code> files looks something like</p>
  
  <pre><code>FIND_PACKAGE (OpenCV REQUIRED)
  ...
  TARGET_LINK_LIBRARIES (my-executable ${OpenCV_LIBS})
  </code></pre>
  
  <p>but this results in dynamically linked libraries. How do I link with static libraries?</p>