r2d2leb...@voila.fr wrote:
> Hi,
>
> I need to write a FindModule which search static and shared version of my
> lib.
If it is your library, then you provide a Config.cmake file, not a
FindModule:
http://www.cmake.org/cmake/help/v3.2/manual/cmake-packages.7.html
> I would like to know what
Hi,
I need to write a FindModule which search static and shared version of my lib.
I need both on my project (there is a diff between static and dynamic lib).
I would like to import my lib using add_library :
add_library(Foo::MyLib STATIC IMPORTED)
add_library(Foo::MyLib SHARED IMPORTED)
This