[CMAKE]
[reactos.git] / dll / win32 / sti / CMakeLists.txt
index f069fbf..fea46a9 100644 (file)
@@ -18,13 +18,14 @@ list(APPEND SOURCE
     sti_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
 
-rpcproxy(sti sti_wia.idl)
+add_rpcproxy_library(stiproxy sti_wia.idl)
 
 add_library(sti SHARED ${SOURCE})
 
 set_entrypoint(sti 0)
 
 target_link_libraries(sti
+    stiproxy
     wine
     uuid
     ${PSEH_LIB})
@@ -37,4 +38,4 @@ add_importlibs(sti
     kernel32
     ntdll)
 
-add_cab_target(sti 1)
+add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)