X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=base%2Fapplications%2Fnetwork%2Fftp%2FCMakeLists.txt;h=0d74b9ae47be5bfe0a3edaeb0f50ef603bdb67a4;hp=5f7d38bf14af84f737879c4e9b321c58ecb07ab6;hb=f22ed7dc10309a870c323fda5d9aac17bf636eb2;hpb=406dfdbc870f3a6874c0959a87428c94f7526d3b;ds=sidebyside diff --git a/base/applications/network/ftp/CMakeLists.txt b/base/applications/network/ftp/CMakeLists.txt index 5f7d38bf14a..0d74b9ae47b 100644 --- a/base/applications/network/ftp/CMakeLists.txt +++ b/base/applications/network/ftp/CMakeLists.txt @@ -1,4 +1,7 @@ -add_definitions(-D_DLL -D__USE_CRTIMP) + +add_definitions( + -D_DLL -D__USE_CRTIMP + -Dlint) add_executable(ftp cmds.c @@ -11,7 +14,11 @@ add_executable(ftp ftp.rc) set_module_type(ftp win32cui) - add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32) -add_cab_target(ftp 1) \ No newline at end of file +if(MSVC) + target_link_libraries(ftp oldnames) + add_importlibs(ftp ntdll) +endif() + +add_cab_target(ftp 1)