Merge topic 'create_test_sourcelist-msvc-warnings'
63fc8dcd
create_test_sourcelist: Suppress MSVC warnings in test driver (#15066)
This commit is contained in:
commit
24f46959a2
|
@ -3,6 +3,10 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# pragma warning(disable:4996) /* deprecation */
|
||||||
|
#endif
|
||||||
|
|
||||||
@CMAKE_TESTDRIVER_EXTRA_INCLUDES@
|
@CMAKE_TESTDRIVER_EXTRA_INCLUDES@
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue