[CMAKE]
[reactos.git] / dll / win32 / cabinet / CMakeLists.txt
index 58d05f9..39a7aee 100644 (file)
@@ -9,6 +9,7 @@ list(APPEND SOURCE
     cabinet_main.c
     fci.c
     fdi.c
+    stubs.c
     cabinet.rc
     ${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
 
@@ -19,5 +20,7 @@ set_entrypoint(cabinet 0)
 target_link_libraries(cabinet wine)
 
 add_importlibs(cabinet kernel32 ntdll)
-add_dependencies(cabinet psdk buildno_header)
-add_cab_target(cabinet 1)
\ No newline at end of file
+add_importlib_target(cabinet.spec)
+
+add_dependencies(cabinet psdk)
+add_cd_file(TARGET cabinet DESTINATION reactos/system32)