[WINSPOOL]
[reactos.git] / reactos / win32ss / printing / base / winspool / CMakeLists.txt
index 670959e..4227804 100644 (file)
@@ -1,7 +1,7 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
 add_rpc_files(client ${REACTOS_SOURCE_DIR}/include/reactos/idl/winspool.idl)
-spec2def(winspool winspool.spec ADD_IMPORTLIB)
+spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
     main.c
@@ -17,6 +17,6 @@ add_library(winspool SHARED
 set_target_properties(winspool PROPERTIES SUFFIX ".drv")
 set_module_type(winspool win32dll UNICODE)
 target_link_libraries(winspool wine ${PSEH_LIB})
-add_importlibs(winspool rpcrt4 msvcrt kernel32 ntdll)
+add_importlibs(winspool gdi32 rpcrt4 msvcrt kernel32 ntdll)
 add_pch(winspool precomp.h SOURCE)
 add_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all)