[CMAKE]
[reactos.git] / dll / keyboard / kbdlt1 / CMakeLists.txt
index b7fcd22..c80096c 100644 (file)
@@ -1,12 +1,12 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
 
-spec2def(kbdlt1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdlt1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdlt1.def)
+spec2def(kbdlt1.dll kbdlt1.spec)
 
-add_library(kbdlt1 SHARED kbdlt1.c kbdlt1.rc)
+add_library(kbdlt1 SHARED kbdlt1.c kbdlt1.rc ${CMAKE_CURRENT_BINARY_DIR}/kbdlt1.def)
 
 set_entrypoint(kbdlt1 0)
 
-target_link_libraries(kbdlt1 ${CMAKE_CURRENT_BINARY_DIR}/kbdlt1.def)
 
-add_dependencies(kbdlt1 kbdlt1_def psdk buildno_header)
+
+add_dependencies(kbdlt1 psdk buildno_header)