mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
create_test_sourcelist: Suppress MSVC warnings in test driver (#15066)
Suggested-by: Ken Moreland <kmorel@sandia.gov>
This commit is contained 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@
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user