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

2015-07-18 Thread Yaron Cohen-Tal
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

Re: [CMake] Using ExternalProject_Add when CMakeFiles.txt is not in the root directory.

2015-07-18 Thread David Cole via CMake
The split technique should be able to help in this scenario as well, because for the second project, which builds the code downloaded by the first project, you can specify a different SOURCE_DIR value... (A sub directory of the first project's source dir, for example.) It would be nice if EP stuff