[cmake-developers] [PATCH] FindCURL: Search for Windows debug builds as well

Rolf Eike Beer eike at sf-mail.de
Fri Dec 19 07:38:51 EST 2014


Am Freitag, 19. Dezember 2014, 12:31:24 schrieb Pietraszkiewicz, Piotr:
> Please forgive me the patch below. It looks my email client (MS Outlook)
> tempered with the content after I pressed "Send". Here it comes again as
> attachment.

The right way would be to do another find_library() into a different variable, 
and then use SelectLibraryConfigurations.cmake to merge the results into 
CURL_LIBRARIES, so it will work with any combination of libs found. That way 
linking will work on Windows if you switch between debug and release 
configurations.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141219/2da9de44/attachment.sig>


More information about the cmake-developers mailing list