summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-25 15:31:14 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-25 15:32:21 (GMT)
commitdb1447b2cf327a7126c09efe7077bf748b57e60f (patch)
treec1fd5f82f57e350d44a37b1f3a755e32fac59a41
parent64198c4f073149341a8ae2ba3d5976c07e2120c2 (diff)
downloadCMake-db1447b2cf327a7126c09efe7077bf748b57e60f.zip
CMake-db1447b2cf327a7126c09efe7077bf748b57e60f.tar.gz
CMake-db1447b2cf327a7126c09efe7077bf748b57e60f.tar.bz2
bzip2: Disable MSVC warnings in 3rd party code
In commit 35acaa90c5 (bzip2: Add compilation flags to disable warnings in third-party code, 2020-02-24) we forgot to disable warnings for MSVC.
-rw-r--r--Utilities/cmbzip2/bzlib_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmbzip2/bzlib_private.h b/Utilities/cmbzip2/bzlib_private.h
index 3755a6f..ba0f589 100644
--- a/Utilities/cmbzip2/bzlib_private.h
+++ b/Utilities/cmbzip2/bzlib_private.h
@@ -32,7 +32,9 @@
#include "bzlib.h"
-
+#if defined(_MSC_VER)
+# pragma warning(push,1)
+#endif
/*-- General stuff. --*/