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

Pietraszkiewicz, Piotr ppietraszkiewicz at psi.de
Tue Jan 6 14:13:31 EST 2015


Thank you for the hint.  How do you find my second attempt? See attachment.

Piotr

-----Ursprüngliche Nachricht-----
Von: cmake-developers [mailto:cmake-developers-bounces at cmake.org] Im Auftrag von Rolf Eike Beer
Gesendet: Freitag, 19. Dezember 2014 13:39
An: cmake-developers at cmake.org
Betreff: Re: [cmake-developers] [PATCH] FindCURL: Search for Windows debugbuilds as well

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: 0001-FindCURL-Search-for-Windows-debug-builds-as-well_TRY2.patch
Type: application/octet-stream
Size: 2137 bytes
Desc: 0001-FindCURL-Search-for-Windows-debug-builds-as-well_TRY2.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150106/448eea76/attachment.obj>


More information about the cmake-developers mailing list