1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-24 19:37:48 +03:00

Suppress warning about "deprecated" functions in MSVC.

This commit is contained in:
Andreas Schneider
2009-08-11 15:36:37 +02:00
parent e4422d6605
commit 011ab7c8fe

View File

@@ -48,3 +48,8 @@ if (UNIX AND NOT WIN32)
endif (WITH_FORTIFY_SOURCE)
endif (CMAKE_COMPILER_IS_GNUCC)
endif (UNIX AND NOT WIN32)
# suppress warning about "deprecated" functions
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif(MSVC)