[DLLS]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 27 Jul 2017 18:48:19 +0000 (18:48 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 27 Jul 2017 18:48:19 +0000 (18:48 +0000)
- Fix import order
- Remove unnecessary imports

svn path=/trunk/; revision=75426

reactos/dll/cpl/powercfg/CMakeLists.txt
reactos/dll/win32/security/CMakeLists.txt
reactos/subsystems/win32/csrsrv/CMakeLists.txt

index 665905f..fadd507 100644 (file)
@@ -18,6 +18,6 @@ add_library(powercfg SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
 
 set_module_type(powercfg cpl UNICODE)
     ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
 
 set_module_type(powercfg cpl UNICODE)
-add_importlibs(powercfg user32 powrprof comctl32 shell32 advapi32 msvcrt kernel32 ntdll shlwapi)
+add_importlibs(powercfg shlwapi user32 powrprof comctl32 shell32 advapi32 msvcrt kernel32 ntdll)
 add_pch(powercfg powercfg.h SOURCE)
 add_cd_file(TARGET powercfg DESTINATION reactos/system32 FOR all)
 add_pch(powercfg powercfg.h SOURCE)
 add_cd_file(TARGET powercfg DESTINATION reactos/system32 FOR all)
index 8b95de0..12a85b1 100644 (file)
@@ -8,5 +8,5 @@ list(APPEND SOURCE
 
 add_library(security SHARED ${SOURCE})
 set_module_type(security win32dll ENTRYPOINT 0 UNICODE)
 
 add_library(security SHARED ${SOURCE})
 set_module_type(security win32dll ENTRYPOINT 0 UNICODE)
-add_importlibs(security secur32 advapi32 ntdll kernel32)
+add_importlibs(security secur32)
 add_cd_file(TARGET security DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET security DESTINATION reactos/system32 FOR all)
index 13c7e19..98519d5 100644 (file)
@@ -21,7 +21,7 @@ add_library(csrsrv SHARED
 
 set_module_type(csrsrv nativedll)
 target_link_libraries(csrsrv ${PSEH_LIB} smlib)
 
 set_module_type(csrsrv nativedll)
 target_link_libraries(csrsrv ${PSEH_LIB} smlib)
-add_importlibs(csrsrv ntdll smdll)
+add_importlibs(csrsrv smdll ntdll)
 add_pch(csrsrv srv.h SOURCE)
 add_dependencies(csrsrv psdk bugcodes)
 add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)
 add_pch(csrsrv srv.h SOURCE)
 add_dependencies(csrsrv psdk bugcodes)
 add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)