mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[FTP] Always link agains oldnames
This commit is contained in:
parent
8ee88d3bd5
commit
6fcd9f3184
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
add_definitions(-Dlint)
|
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
cmds.c
|
cmds.c
|
||||||
cmdtab.c
|
cmdtab.c
|
||||||
|
@ -12,12 +10,14 @@ list(APPEND SOURCE
|
||||||
precomp.h)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(ftp ${SOURCE} ftp.rc)
|
add_executable(ftp ${SOURCE} ftp.rc)
|
||||||
|
target_compile_definitions(ftp PRIVATE lint)
|
||||||
|
|
||||||
set_module_type(ftp win32cui)
|
set_module_type(ftp win32cui)
|
||||||
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
|
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
|
||||||
|
target_link_libraries(ftp oldnames)
|
||||||
add_pch(ftp precomp.h SOURCE)
|
add_pch(ftp precomp.h SOURCE)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_link_libraries(ftp oldnames)
|
|
||||||
add_importlibs(ftp ntdll)
|
add_importlibs(ftp ntdll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue