mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
[CMAKE]
* Refer to the PSEH lib using its variable. svn path=/trunk/; revision=57260
This commit is contained in:
parent
59f075b683
commit
81eb633247
4 changed files with 14 additions and 17 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -14,11 +14,8 @@ list(APPEND SOURCE
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue