Re: [CMake] avoid windows link warning: LNK4221

2008-05-15 Thread Jesper Eskilson
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

[CMake] avoid windows link warning: LNK4221

2008-05-14 Thread Phil Pellouchoud
I have a static library that is giving the following warning: LNK4221 Is there a way to tell cmake to add /IGNORE:4221 I would normally add this in the Additional Options: edit box on the Librarian/Command Line section of the project properties (Microsoft Visual Studio 2005).