mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
a631e31c86
This will also fix MS Office 2010 installation, where the installation expects the NetworkService account profile to be already loaded (this condition is always verified on Windows since RPCSS and other services also run under this account). CORE-14988, CORE-14989
27 lines
760 B
CMake
27 lines
760 B
CMake
|
|
add_rpc_files(server
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/epm.idl
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/irot.idl)
|
|
|
|
|
|
list(APPEND SOURCE
|
|
epmp.c
|
|
irotp.c
|
|
rpcss_main.c
|
|
setup.c
|
|
precomp.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/epm_s.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/irot_s.c)
|
|
|
|
include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos/wine)
|
|
add_executable(rpcss ${SOURCE} rpcss.rc)
|
|
|
|
if(USE_CLANG_CL)
|
|
add_target_compile_flags(rpcss "-Wno-cast-calling-convention")
|
|
endif()
|
|
|
|
target_link_libraries(rpcss ${PSEH_LIB} wine)
|
|
set_module_type(rpcss win32cui UNICODE)
|
|
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(rpcss precomp.h SOURCE)
|
|
add_cd_file(TARGET rpcss DESTINATION reactos/system32 FOR all)
|