summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-11 13:57:55 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-11 13:58:01 (GMT)
commit3dd26463d47d5dd118f85ff5e96184feaa19c987 (patch)
tree4d8a4a15b800f071bbbec2a88217bf668001906b /Utilities
parentc02c747b85cf7bba8e81a955722122e844688d4c (diff)
downloadCMake-3dd26463d47d5dd118f85ff5e96184feaa19c987.zip
CMake-3dd26463d47d5dd118f85ff5e96184feaa19c987.tar.gz
CMake-3dd26463d47d5dd118f85ff5e96184feaa19c987.tar.bz2
curl: Disable warnings to avoid changing 3rd party code
Tell MSVC to use its lowest warning level inside curl sources.
Diffstat (limited to 'Utilities')
-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 12238ca..9cc5758 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, */