title: CMake find_library matching behavior?
body: <p>One specifies <code>find_library(&lt;var&gt; name PATHS path1..pathn)</code></p>
  
  <p>My question is how does <code>find_library()</code> match name to the library file (on Windows and Linux)?</p>
  
  <p>For example, I am unable to have <code>find_library()</code> identify the MagicK and MagicK++ DLL files in the provided Windows binary installation of GraphicsMagicK:</p>
  
  <p>The files is: <code>CORE_RL_magick_.dll</code></p>
  
  <p>Searching for the queries: <code>magick</code> or <code>CORE_RL_magick</code> does not work.</p>