[CMake] How to find a specific version of a library?

Yaron Cohen-Tal yaronct at gmail.com
Sun Jul 19 02:38:38 EDT 2015


Hi,

For example, I currently have both versions 2 and 3 of the GLFW library
installed on my Linux computer, named "libglfw.so.2" and "libglfw.so.3". Is
it possible to tell CMake to find a specific version of GLFW (say, version
3), and it would be smart enough to look for "libglfw.so.3" or
"libglfw.so.3.*" or "libglfw.so.3.*.*"? (Or something equivalent in Mac and
Windows)

Thanx,
Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150719/b76920fa/attachment.html>


More information about the CMake mailing list