summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/lib
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-11 08:57:55 -0500
committerBrad King <brad.king@kitware.com>2014-11-11 08:58:01 -0500
commit3dd26463d47d5dd118f85ff5e96184feaa19c987 (patch)
tree4d8a4a15b800f071bbbec2a88217bf668001906b /Utilities/cmcurl/lib
parentc02c747b85cf7bba8e81a955722122e844688d4c (diff)
downloadcmake-3dd26463d47d5dd118f85ff5e96184feaa19c987.tar.gz
curl: Disable warnings to avoid changing 3rd party code
Tell MSVC to use its lowest warning level inside curl sources.
Diffstat (limited to 'Utilities/cmcurl/lib')
-rw-r--r--Utilities/cmcurl/lib/curl_setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmcurl/lib/curl_setup.h b/Utilities/cmcurl/lib/curl_setup.h
index 12238ca0e2..9cc5758640 100644
--- a/Utilities/cmcurl/lib/curl_setup.h
+++ b/Utilities/cmcurl/lib/curl_setup.h
@@ -80,6 +80,10 @@
#endif /* HAVE_CONFIG_H */
+#if defined(_MSC_VER)
+# pragma warning(push,1)
+#endif
+
/* ================================================================ */
/* Definition of preprocessor macros/symbols which modify compiler */
/* behavior or generated code characteristics must be done here, */