* Sync with recent trunk (r52637).
[reactos.git] / base / system / winlogon / CMakeLists.txt
index b411d0d..99bee9d 100644 (file)
@@ -8,12 +8,11 @@ list(APPEND SOURCE
     wlx.c
     winlogon.rc)
 
-add_executable(winlogon ${CMAKE_CURRENT_BINARY_DIR}/winlogon_winlogon.h.gch ${SOURCE})
+add_executable(winlogon ${SOURCE})
 
 target_link_libraries(winlogon wine)
 
-add_pch(winlogon ${CMAKE_CURRENT_SOURCE_DIR}/winlogon.h ${SOURCE})
-
 set_module_type(winlogon win32gui)
 add_importlibs(winlogon user32 advapi32 userenv secur32 msvcrt kernel32 ntdll)
-add_cab_target(winlogon 1)
+add_pch(winlogon winlogon.h)
+add_cd_file(TARGET winlogon DESTINATION reactos/system32 FOR all)