One specifies find_library(<var> name PATHS path1..pathn)

My question is how does find_library() match name to the library file (on Windows and Linux)?

For example, I am unable to have find_library() identify the MagicK and MagicK++ DLL files in the provided Windows binary installation of GraphicsMagicK:

The files is: CORE_RL_magick_.dll

Searching for the queries: magick or CORE_RL_magick does not work.

Edit
Report