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