Author: akhaldi
Date: Sun Sep 9 23:59:16 2012
New Revision: 57260
URL:
http://svn.reactos.org/svn/reactos?rev=57260&view=rev
Log:
[CMAKE]
* Refer to the PSEH lib using its variable.
Modified:
trunk/reactos/base/services/eventlog/CMakeLists.txt
trunk/reactos/base/services/wlansvc/CMakeLists.txt
trunk/reactos/base/system/services/CMakeLists.txt
trunk/reactos/base/system/smss/CMakeLists.txt
Modified: trunk/reactos/base/services/eventlog/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/CMa…
==============================================================================
--- trunk/reactos/base/services/eventlog/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/services/eventlog/CMakeLists.txt [iso-8859-1] Sun Sep 9 23:59:16
2012
@@ -17,7 +17,7 @@
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)
Modified: trunk/reactos/base/services/wlansvc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/wlansvc/CMak…
==============================================================================
--- trunk/reactos/base/services/wlansvc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/services/wlansvc/CMakeLists.txt [iso-8859-1] Sun Sep 9 23:59:16
2012
@@ -10,7 +10,7 @@
${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)
Modified: trunk/reactos/base/system/services/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/CMake…
==============================================================================
--- trunk/reactos/base/system/services/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/CMakeLists.txt [iso-8859-1] Sun Sep 9 23:59:16
2012
@@ -22,7 +22,7 @@
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)
Modified: trunk/reactos/base/system/smss/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/CMakeList…
==============================================================================
--- trunk/reactos/base/system/smss/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/CMakeLists.txt [iso-8859-1] Sun Sep 9 23:59:16 2012
@@ -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)