summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-07 09:15:17 -0400
committerBrad King <brad.king@kitware.com>2014-08-07 09:17:44 -0400
commit63fc8dcdb82e91b7218aab959d75f924f6a01bc1 (patch)
tree5afe788a90f5a5d6809d0c4407794c5329d948f4 /Templates
parentebd8fa2256c9293b3887f6aeecc9aa7ee718137d (diff)
downloadcmake-63fc8dcdb82e91b7218aab959d75f924f6a01bc1.tar.gz
create_test_sourcelist: Suppress MSVC warnings in test driver (#15066)
Suggested-by: Ken Moreland <kmorel@sandia.gov>
Diffstat (limited to 'Templates')
-rw-r--r--Templates/TestDriver.cxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index 0e0a872412..ffa69995b8 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -3,6 +3,10 @@
#include <string.h>
#include <stdlib.h>
+#if defined(_MSC_VER)
+# pragma warning(disable:4996) /* deprecation */
+#endif
+
@CMAKE_TESTDRIVER_EXTRA_INCLUDES@