[TFTPD] Disable format-overflow warnings

This commit is contained in:
Timo Kreuzer 2019-04-28 19:29:45 +02:00 committed by Hervé Poussineau
parent 1ac9e48465
commit 9dc6c14eca

View file

@ -1,4 +1,8 @@
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
add_compile_flags("-Wno-format-overflow")
endif()
add_executable(tftpd tftpd.cpp)
set_module_type(tftpd win32cui)
add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32)