[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 9 Jan 2011 17:24:39 +0000 (17:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 9 Jan 2011 17:24:39 +0000 (17:24 +0000)
- Add missing define.

svn path=/branches/cmake-bringup/; revision=50341

base/applications/network/ftp/CMakeLists.txt

index ba12358..0d74b9a 100644 (file)
@@ -1,5 +1,7 @@
 
 
-add_definitions(-D_DLL -D__USE_CRTIMP)
+add_definitions(
+    -D_DLL -D__USE_CRTIMP
+    -Dlint)
 
 add_executable(ftp
     cmds.c
 
 add_executable(ftp
     cmds.c
@@ -12,11 +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)
+
 if(MSVC)
 if(MSVC)
-target_link_libraries(ftp oldnames)
-add_importlibs(ftp ntdll)
+    target_link_libraries(ftp oldnames)
+    add_importlibs(ftp ntdll)
 endif()
 
 add_cab_target(ftp 1)
 endif()
 
 add_cab_target(ftp 1)