summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp/include/json/config.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-13 15:45:23 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-15 16:39:01 (GMT)
commit06f41e986c25fc2fd68074fce314a55f5c1d003d (patch)
tree38ed45f9a7ccfaae6ddfe73cd45f38e6e457541d /Utilities/cmjsoncpp/include/json/config.h
parent1fc556536e0c0475d401e8b5747b46e9f7c32287 (diff)
downloadCMake-06f41e986c25fc2fd68074fce314a55f5c1d003d.zip
CMake-06f41e986c25fc2fd68074fce314a55f5c1d003d.tar.gz
CMake-06f41e986c25fc2fd68074fce314a55f5c1d003d.tar.bz2
jsoncpp: Disable warnings to avoid changing 3rd party code
Add '-w' or equivalent flag on compilers supporting it. Tell MSVC to use its lowest warning level inside jsoncpp sources.
Diffstat (limited to 'Utilities/cmjsoncpp/include/json/config.h')
-rw-r--r--Utilities/cmjsoncpp/include/json/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmjsoncpp/include/json/config.h b/Utilities/cmjsoncpp/include/json/config.h
index 4d31797..6847ceb 100644
--- a/Utilities/cmjsoncpp/include/json/config.h
+++ b/Utilities/cmjsoncpp/include/json/config.h
@@ -9,6 +9,10 @@
// Include KWSys Large File Support configuration.
#include <cmsys/Configure.h>
+#if defined(_MSC_VER)
+# pragma warning(push,1)
+#endif
+
/// If defined, indicates that json library is embedded in CppTL library.
//# define JSON_IN_CPPTL 1