* Refer to the PSEH lib using its variable.

svn path=/trunk/; revision=57260
This commit is contained in:
Amine Khaldi 2012-09-09 23:59:16 +00:00
parent 59f075b683
commit 81eb633247
4 changed files with 14 additions and 17 deletions

View file

@ -17,7 +17,7 @@ list(APPEND SOURCE
add_executable(eventlog ${SOURCE})
if(NOT MSVC)
target_link_libraries(eventlog pseh)
target_link_libraries(eventlog ${PSEH_LIB})
endif()
set_module_type(eventlog win32cui UNICODE)

View file

@ -10,7 +10,7 @@ add_executable(wlansvc
${CMAKE_CURRENT_BINARY_DIR}/wlansvc_s.c)
if(NOT MSVC)
target_link_libraries(wlansvc pseh)
target_link_libraries(wlansvc ${PSEH_LIB})
endif()
set_module_type(wlansvc win32cui UNICODE)

View file

@ -22,7 +22,7 @@ list(APPEND SOURCE
add_executable(services ${SOURCE})
if(NOT MSVC)
target_link_libraries(services pseh)
target_link_libraries(services ${PSEH_LIB})
endif()
set_module_type(services win32cui UNICODE)

View file

@ -2,23 +2,20 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
list(APPEND SOURCE
crashdmp.c
pagefile.c
sminit.c
smloop.c
smsbapi.c
smsessn.c
smsubsys.c
smutil.c
smss.c
smss.rc)
crashdmp.c
pagefile.c
sminit.c
smloop.c
smsbapi.c
smsessn.c
smsubsys.c
smutil.c
smss.c
smss.rc)
add_executable(smss WIN32 ${SOURCE})
target_link_libraries(smss nt pseh smlib)
target_link_libraries(smss nt ${PSEH_LIB} smlib)
add_pch(smss smss.h)
set_module_type(smss nativecui)
add_importlibs(smss ntdll)
add_cd_file(TARGET smss DESTINATION reactos/system32 FOR all)