diff options
author | Brad King <brad.king@kitware.com> | 2014-11-11 13:57:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-11 13:58:01 (GMT) |
commit | 3dd26463d47d5dd118f85ff5e96184feaa19c987 (patch) | |
tree | 4d8a4a15b800f071bbbec2a88217bf668001906b /Utilities/cmcurl | |
parent | c02c747b85cf7bba8e81a955722122e844688d4c (diff) | |
download | CMake-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/cmcurl')
-rw-r--r-- | Utilities/cmcurl/lib/curl_setup.h | 4 |
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, */ |