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

Piotr

-----Ursprüngliche Nachricht-----
Von: cmake-developers [mailto:cmake-developers-boun...@cmake.org] Im Auftrag 
von Rolf Eike Beer
Gesendet: Freitag, 19. Dezember 2014 13:39
An: cmake-developers@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

Attachment: 0001-FindCURL-Search-for-Windows-debug-builds-as-well_TRY2.patch
Description: 0001-FindCURL-Search-for-Windows-debug-builds-as-well_TRY2.patch

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to