Author: janderwald
Date: Fri Feb 18 00:25:53 2011
New Revision: 50776
URL:
http://svn.reactos.org/svn/reactos?rev=50776&view=rev
Log:
- Amine fixes msvc linking of wuapi elegantly
- All complaints to him ;)
Modified:
branches/cmake-bringup/dll/win32/wuapi/CMakeLists.txt
branches/cmake-bringup/include/psdk/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/wuapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wuapi/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/wuapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/wuapi/CMakeLists.txt [iso-8859-1] Fri Feb 18 00:25:53
2011
@@ -18,12 +18,12 @@
searcher.c
session.c
updates.c
- #${REACTOS_BINARY_DIR}/include/psdk/wuapi_i.c
${CMAKE_CURRENT_BINARY_DIR}/wuapi.def)
add_library(wuapi SHARED ${SOURCE})
set_module_type(wuapi win32dll)
-target_link_libraries(wuapi uuid wine)
+target_link_libraries(wuapi uuid wine wuapi_idl_header)
add_importlibs(wuapi ole32 advapi32 msvcrt kernel32 ntdll)
add_cab_target(wuapi 1)
+
Modified: branches/cmake-bringup/include/psdk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/psdk/CMak…
==============================================================================
--- branches/cmake-bringup/include/psdk/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/include/psdk/CMakeLists.txt [iso-8859-1] Fri Feb 18 00:25:53
2011
@@ -97,7 +97,6 @@
wincodec.idl
winsxs.idl
wtypes.idl
- wuapi.idl
xmldom.idl
xmldso.idl
ctfutb.idl
@@ -110,4 +109,6 @@
add_idl_headers(psdk ${SOURCE})
+add_iid_library(wuapi_idl_header wuapi.idl)
+
add_typelib(stdole2 stdole2.idl)