[CMake] avoid windows link warning: LNK4221

Jesper Eskilson jesper at eskilson.se
Thu May 15 06:20:53 EDT 2008


Phil Pellouchoud wrote:
> I have a *static library* that is giving the following warning:
> 
>  
> 
> LNK4221
> 
>  
> 
> Is there a way to tell cmake to add
> 
>  
> 
> /IGNORE:4221

Sorry, but there is no /IGNORE option to LIB. Afaik, LIB does not have 
an option for disabling warnings. If you find one, please let me know.

:-(




More information about the CMake mailing list