* Sync with recent trunk (r52637).
[reactos.git] / base / applications / mscutils / devmgmt / CMakeLists.txt
index effad6f..8071a78 100644 (file)
@@ -9,10 +9,9 @@ list(APPEND SOURCE
     misc.c
     devmgmt.rc)
 
-add_executable(devmgmt ${CMAKE_CURRENT_BINARY_DIR}/devmgmt_precomp.h.gch ${SOURCE})
-
-add_pch(devmgmt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_executable(devmgmt ${SOURCE})
 
 set_module_type(devmgmt win32gui)
-
-add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt)
+add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
+add_pch(devmgmt precomp.h)
+add_cd_file(TARGET devmgmt DESTINATION reactos/system32 FOR all)