[CMake] FindLibrary only looks for lib under Windows

Rolf Eike Beer eike at sf-mail.de
Wed Sep 15 12:45:50 EDT 2010


Am Wednesday 15 September 2010 schrieb David Cole:
> find_library always looks for *.lib files on Windows. Those are the ones
> that need to be passed to the linker. The *.dll files are the ones that
> need to be there at runtime in order to run correctly.
> 
> This behavior is intended, by design, and is working correctly.

IIRC at least newer versions of MinGW can link directly against dll's.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100915/a6d9a7c0/attachment.pgp>


More information about the CMake mailing list