[CMake] cmake 2.6 and find_library with MinGW generator
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Wed May 21 01:07:50 EDT 2008
Hi,
during your new warning when mixing libs in target_link_libraries
(CMP0003) I changed target_link_libraries(foo ws2_32) to
find_library(WS2_32_LIBRARY ws2_32)
target_link_libraries(foo ${WS2_32_LIBRARY})
but now cmake finds ws2_32.dll in system32 instead the correct one
(ws2_32.dll.a / ws2_32.a) in mingw dir.
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080521/ca897c30/attachment.pgp>
More information about the CMake
mailing list