[CMAKE]
[reactos.git] / dll / keyboard / kbdmac / CMakeLists.txt
index aad9322..0c96cc0 100644 (file)
@@ -1,12 +1,12 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
 
-spec2def(kbdmac ${CMAKE_CURRENT_SOURCE_DIR}/kbdmac.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdmac.def)
+spec2def(kbdmac.dll kbdmac.spec)
 
-add_library(kbdmac SHARED kbdmac.c kbdmac.rc)
+add_library(kbdmac SHARED kbdmac.c kbdmac.rc ${CMAKE_CURRENT_BINARY_DIR}/kbdmac.def)
 
 set_entrypoint(kbdmac 0)
 
-target_link_libraries(kbdmac ${CMAKE_CURRENT_BINARY_DIR}/kbdmac.def)
+add_dependencies(kbdmac psdk)
 
-add_dependencies(kbdmac kbdmac_def psdk buildno_header)
+add_cd_file(TARGET kbdmac DESTINATION reactos/system32 FOR all)