X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=base%2Fservices%2Ftftpd%2FCMakeLists.txt;h=f4bd0cb6d7d2f84f91e7c8469cd6f89fcc900ea5;hp=967dd158ca15fa89304cff9e2c8be5225166f9d7;hb=b50965828002f6e916800ffd06f139db93c685e4;hpb=07b314c1409e4b60ecd15a45b85687ac3ef00d52 diff --git a/base/services/tftpd/CMakeLists.txt b/base/services/tftpd/CMakeLists.txt index 967dd158ca1..f4bd0cb6d7d 100644 --- a/base/services/tftpd/CMakeLists.txt +++ b/base/services/tftpd/CMakeLists.txt @@ -1,7 +1,9 @@ -add_executable(tftpd tftpd.cpp) - -target_link_libraries(tftpd wine) +if(NOT MSVC) + add_compile_flags("-Wno-format-overflow") +endif() +add_executable(tftpd tftpd.cpp) set_module_type(tftpd win32cui) -add_importlibs(tftpd advapi32 ws2_32 msvcrt kernel32 ntdll) +add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32) +add_cd_file(TARGET tftpd DESTINATION reactos/system32 FOR all)