mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
00ed72d7e8
Use add_compile_options and the like instead
10 lines
295 B
CMake
10 lines
295 B
CMake
|
|
add_executable(tftpd tftpd.cpp)
|
|
set_module_type(tftpd win32cui)
|
|
add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32)
|
|
add_cd_file(TARGET tftpd DESTINATION reactos/system32 FOR all)
|
|
|
|
if ((NOT MSVC) OR USE_CLANG_CL)
|
|
target_compile_options(tftpd PRIVATE -Wno-format-overflow)
|
|
endif()
|