[CMake] find_library and caching

2014-06-15 Thread Lucas Soltic
Hello, I use a FindSomeLib.cmake script for my project, for which there is a variable (let's call it LINK_STATIC) to define if one wants to link against SomeLib statically. The default is to look for dynamic libraries. The issue is that when first running CMake's configure, the user may

Re: [CMake] find_library and caching

2014-06-15 Thread Nils Gladitz
On 15.06.2014 19:33, Lucas Soltic wrote: I use a FindSomeLib.cmake script for my project, for which there is a variable (let's call it LINK_STATIC) to define if one wants to link against SomeLib statically. The default is to look for dynamic libraries. The issue is that when first

Re: [CMake] find_library and caching

2014-06-15 Thread Lucas Soltic
Le 15 juin 2014 à 20:19, Nils Gladitz nilsglad...@gmail.com a écrit : On 15.06.2014 19:33, Lucas Soltic wrote: I use a FindSomeLib.cmake script for my project, for which there is a variable (let's call it LINK_STATIC) to define if one wants to link against SomeLib statically. The default