[CMAKE]
[reactos.git] / dll / win32 / modemui / CMakeLists.txt
index ce1fe4e..fffedb4 100644 (file)
@@ -1,13 +1,12 @@
 
 set_unicode()
 
-spec2def(modemui ${CMAKE_CURRENT_SOURCE_DIR}/modemui.spec ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
+spec2def(modemui.dll modemui.spec)
 
-add_library(modemui SHARED modemui.c modemui.rc)
+add_library(modemui SHARED modemui.c modemui.rc ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
 
 set_module_type(modemui win32dll)
 
-target_link_libraries(modemui ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
-
 add_importlibs(modemui kernel32)
-add_dependencies(modemui modemui_def)
+
+add_cab_target(modemui 1)