Author: akhaldi
Date: Sat Aug 14 10:32:00 2010
New Revision: 48539
URL:
http://svn.reactos.org/svn/reactos?rev=48539&view=rev
Log:
[CMAKE]
- Improve advapi32 build.
Modified:
branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/advapi3…
==============================================================================
--- branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt [iso-8859-1] Sat Aug 14
10:32:00 2010
@@ -1,5 +1,5 @@
-set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES> -Wl,-L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
+set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
add_definitions(-DUNICODE -D_UNICODE)
add_definitions(-D_ADVAPI32_)
@@ -29,8 +29,9 @@
target_link_libraries(advapi32 ${CMAKE_CURRENT_SOURCE_DIR}/advapi32.def
wine
pseh
- mingw_common
- rpcrt4)
+ rpcrt4
+ ${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
+ ${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
add_pch(advapi32 ${CMAKE_CURRENT_SOURCE_DIR}/advapi32.h ${SOURCE})
add_dependencies(advapi32 svcctl_client lsa_client eventlogrpc_client version)