projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CMAKE]
[reactos.git]
/
base
/
applications
/
network
/
ftp
/
CMakeLists.txt
diff --git
a/base/applications/network/ftp/CMakeLists.txt
b/base/applications/network/ftp/CMakeLists.txt
index
663c2be
..
0d74b9a
100644
(file)
--- a/
base/applications/network/ftp/CMakeLists.txt
+++ b/
base/applications/network/ftp/CMakeLists.txt
@@
-1,3
+1,8
@@
+
+add_definitions(
+ -D_DLL -D__USE_CRTIMP
+ -Dlint)
+
add_executable(ftp
cmds.c
cmdtab.c
add_executable(ftp
cmds.c
cmdtab.c
@@
-9,7
+14,11
@@
add_executable(ftp
ftp.rc)
set_module_type(ftp win32cui)
ftp.rc)
set_module_type(ftp win32cui)
-
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
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)