[CMake] find_package New features request

Yuri Timenkov ytimenkov at parallels.com
Mon Jul 21 07:26:09 EDT 2008


On Monday 21 July 2008 16:21:43 Alin M Elena wrote:
> Hi,
>
> I try to rewrite a module BLAS.
>
> After an analysis I realised that find_package as it stands now may not be
> enough for the functionality that I need.
>
> for BLAS it happens to be found in many forms supplied by different
> vendors. So I thought that an optional argument Vendor would be useful.
>
> Another issues is deciding what you want: static or dynamic linkage.
> This is an old discussion and some solution were suggested on the list.
>
> To make it portable again would be useful if inside the Findxxx.cmake you
> know what kind at linkage the user wants.
> Again some methods were presented on the list but they need running
> external tools. I would suggest an optional parameter STATIC for
> find_package.

This can be worked around in current implementation. Look into FindBoost.cmake 
in 2.6 version.

>
>
> Alin



More information about the CMake mailing list