[CMAKE]
[reactos.git] / base / system / userinit / CMakeLists.txt
index 000d7b6..79fb7c2 100644 (file)
@@ -5,7 +5,8 @@ set_rc_compiler()
 
 add_executable(userinit userinit.c userinit.rc)
 
+target_link_libraries(userinit wine)
+
 set_module_type(userinit win32gui)
 
-add_importlibs(userinit user32 gdi32 advapi32 shell32 shlwapi msvcrt)
-target_link_libraries(userinit wine)
+add_importlibs(userinit user32 gdi32 advapi32 shell32 shlwapi msvcrt kernel32 ntdll)