RE: [CMake] FIND_LIBRARY mingw

2007-10-16 Thread Alexander.Camek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Christian, it looks like FIND_LIBRARY is using a .lib if it can't find a .a/.dll.a when using the mingw generator (see also http://lists.kde.org/?l=kde-windowsm=119248363310566w=2) Is this a intented behaviour? Normally under windows you

Re: [CMake] FIND_LIBRARY mingw

2007-10-16 Thread Christian Ehrlicher
[EMAIL PROTECTED] schrieb: Hi Christian, it looks like FIND_LIBRARY is using a .lib if it can't find a .a/.dll.a when using the mingw generator (see also http://lists.kde.org/?l=kde-windowsm=119248363310566w=2) Is this a intented behaviour? Normally under windows you will need to link

Re: [CMake] FIND_LIBRARY mingw

2007-10-16 Thread Christian Ehrlicher
Alexander Camek schrieb: Hi Christian That's not true - on windows with mingw you link against .a And cmake also search for .a (and .dll.a) but *also* for .lib which is imho a bug. When I've an import lib for msvc - foo.lib and one for mingw - foo.a I get foo.a for mingw, but as soon as I

Re: [CMake] FIND_LIBRARY mingw

2007-10-16 Thread Christian Ehrlicher
Alexander Camek schrieb: Not really, i can also link with a .lib under mingw. And if you can't link with .lib file under mingw, then it would be a mingw bug at all, because both are endings. That's the point - you can't mix msvc and mingw libs. You can only mix them as long as you stay in