[CMAKE]
authorJérôme Gardou <jerome.gardou@reactos.org>
Mon, 1 Nov 2010 09:32:04 +0000 (09:32 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Mon, 1 Nov 2010 09:32:04 +0000 (09:32 +0000)
  - put ntdll.def in source files

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

dll/ntdll/CMakeLists.txt

index 0c1adcf..9de0d41 100644 (file)
@@ -21,10 +21,8 @@ list(APPEND SOURCE
     rtl/libsupp.c
     rtl/version.c
     def/ntdll.rc
-    def/ntdll.def)
+    ${CMAKE_CURRENT_BINARY_DIR}/def/ntdll.def)
     
-set_source_files_properties(def/ntdll.def PROPERTIES EXTERNAL_OBJECT TRUE)
-
 if(ARCH MATCHES i386)
 list(APPEND SOURCE dispatch/i386/dispatch.S)
 elseif(ARCH MATCHES amd64)
@@ -48,7 +46,6 @@ target_link_libraries(ntdll -Wl,--whole-archive rtl -Wl,--no-whole-archive)
 endif()
 
 target_link_libraries(ntdll
-    ${CMAKE_CURRENT_BINARY_DIR}/def/ntdll.def
                       ntdllsys
                       libcntpr
                       pseh)