- Amine fixes msvc linking of wuapi elegantly

- All complaints to him ;)

svn path=/branches/cmake-bringup/; revision=50776
This commit is contained in:
Johannes Anderwald 2011-02-18 00:25:53 +00:00
parent 895106f07c
commit a72b838de5
2 changed files with 4 additions and 3 deletions

View file

@ -18,12 +18,12 @@ list(APPEND SOURCE
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)

View file

@ -97,7 +97,6 @@ list(APPEND SOURCE
wincodec.idl
winsxs.idl
wtypes.idl
wuapi.idl
xmldom.idl
xmldso.idl
ctfutb.idl
@ -110,4 +109,6 @@ endif()
add_idl_headers(psdk ${SOURCE})
add_iid_library(wuapi_idl_header wuapi.idl)
add_typelib(stdole2 stdole2.idl)