[CMAKE]
[reactos.git] / dll / win32 / shdoclc / CMakeLists.txt
index 8244a46..03955e9 100644 (file)
@@ -1,15 +1,14 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-spec2def(shdoclc ${CMAKE_CURRENT_SOURCE_DIR}/shdoclc.spec ${CMAKE_CURRENT_BINARY_DIR}/shdoclc.def)
+spec2def(shdoclc.dll shdoclc.spec)
 
-add_library(shdoclc SHARED rsrc.rc)
+add_library(shdoclc SHARED rsrc.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/shdoclc.def)
 
 set_entrypoint(shdoclc 0)
 
-target_link_libraries(shdoclc
-    ${CMAKE_CURRENT_BINARY_DIR}/shdoclc.def
-    wine)
+target_link_libraries(shdoclc wine)
 
 add_importlibs(shdoclc kernel32 ntdll)
-add_dependencies(shdoclc shdoclc_def psdk buildno_header)
+add_dependencies(shdoclc psdk buildno_header)