[cmake-developers] [PATCH] FindCURL: Search for Windows debug builds as well
Pietraszkiewicz, Piotr
ppietraszkiewicz at psi.de
Fri Dec 19 06:31:24 EST 2014
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.
Thanks for applying,
Piotr
-----Ursprüngliche Nachricht-----
Von: Pietraszkiewicz, Piotr
Gesendet: Freitag, 19. Dezember 2014 12:21
An: 'cmake-developers at cmake.org'
Betreff: [PATCH] FindCURL: Search for Windows debug builds as well
Signed-off-by: Piotr Pietraszkiewicz <ppietraszkiewicz at psi.de>
---
Modules/FindCURL.cmake | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Modules/FindCURL.cmake b/Modules/FindCURL.cmake index 209fd87..6fb8f7d 100644
--- a/Modules/FindCURL.cmake
+++ b/Modules/FindCURL.cmake
@@ -40,6 +40,9 @@ find_library(CURL_LIBRARY NAMES
curllib_static
# Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-
msvc.zip):
libcurl
+ # Windows debug builds (produced by curl's build system by passing
+ DEBUG=yes # option to nmake invocation)
+ libcurl_debug
)
mark_as_advanced(CURL_LIBRARY)
--
2.1.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindCURL-Search-for-Windows-debug-builds-as-well.patch
Type: application/octet-stream
Size: 871 bytes
Desc: 0001-FindCURL-Search-for-Windows-debug-builds-as-well.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141219/b36899f7/attachment.obj>
More information about the cmake-developers
mailing list