[IP]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 4 Jan 2014 10:11:02 +0000 (10:11 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 4 Jan 2014 10:11:02 +0000 (10:11 +0000)
* Properly account for checksum.S as an asm file.

svn path=/trunk/; revision=61509

reactos/lib/drivers/ip/CMakeLists.txt

index 20c9005..a604ff3 100644 (file)
@@ -7,7 +7,7 @@ include_directories(
     ${REACTOS_SOURCE_DIR}/lib/drivers/lwip/src/include/ipv4)
 
 if(ARCH STREQUAL "i386")
-    list(APPEND SOURCE network/i386/checksum.S)
+    add_asm_files(ip_asm network/i386/checksum.S)
 endif()
 
 list(APPEND SOURCE
@@ -32,6 +32,6 @@ list(APPEND SOURCE
     transport/tcp/tcp.c
     transport/udp/udp.c)
 
-add_library(ip ${SOURCE})
+add_library(ip ${SOURCE} ${ip_asm})
 add_pch(ip precomp.h)
 add_dependencies(ip bugcodes)