title: cmake use wildcard for find_library NAMES option
body: <p>In cmake to find a library we use <code>find_library(MyLibrary_LIBRARY NAMES mylibrary mylibrary10 mylibrary11 HINTS /path/to/library)</code>. This command tells cmake to find a file named <code>mylibrary.so</code> or <code>mylibrary10.so</code> or <code>mylibrary11.so</code> (or files with <code>.lib</code> suffix in windows) per path of <code>HINTS</code>. If any of the above files were found, the path to the file would be written to the <code>MyLibrary_LIBRARY</code> variable. However, as one of the libraries I am using is frequently being updated - so that the library would soon be renamed to <code>mylibrary20.so</code> or <code>mylibrary21.so</code> - I need to update the cmake script frequently to reflect the changes. I wonder if there is a way that I can use wildcard here, so that cmake would automatically find <code>mylibraryXX.so</code> here, where <code>XX</code> means two digits.</p>
  <p>According to documentation (<a href="https://cmake.org/cmake/help/latest/command/find_library.html" rel="nofollow noreferrer">https://cmake.org/cmake/help/latest/command/find_library.html</a>), it seems this is not supported. If that's the case, will there be any other workarounds? (Creating a link from <code>mylibraryXX.so</code> to <code>mylibrary.so</code> doesn't quite work for me, as I don't have control of the library.)</p>