[CMake] Bug? CMP0008 and inability to use .a libraries with MSVC

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu Mar 12 10:19:00 EDT 2009


> Von: Braddock Gaskill
> I am unable to use static GnuWin32 libraries using the lib*.a naming
> convention with an MSVC 8 2005 target.
> 
.a libraries are static libraries for MinGW. When you're using msvc you have to link against .lib.
It sometimes works that msvc can also link against a .a but that's not intented and therefore cmake doesn't allow it.


Christian
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01


More information about the CMake mailing list