Author: jgardou
Date: Tue Oct 21 10:45:36 2014
New Revision: 64861
URL: 
http://svn.reactos.org/svn/reactos?rev=64861&view=rev
Log:
[CMAKE]
 - link keyboard layout modules to gcc_ssp if the stack protector is enabled.
Modified:
    trunk/reactos/dll/keyboard/CMakeLists.txt
Modified: trunk/reactos/dll/keyboard/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/keyboard/CMakeLists.tx…
==============================================================================
--- trunk/reactos/dll/keyboard/CMakeLists.txt   [iso-8859-1] (original)
+++ trunk/reactos/dll/keyboard/CMakeLists.txt   [iso-8859-1] Tue Oct 21 10:45:36 2014
@@ -102,6 +102,10 @@
         add_target_link_flags(${_keyboard_layout}
"-Wl,-T,${CMAKE_SOURCE_DIR}/kbdlayout.lds")
     endif()
+    if (STACK_PROTECTOR)
+        target_link_libraries(${_keyboard_layout} gcc_ssp)
+    endif()
+
     if(RUNTIME_CHECKS)
         target_link_libraries(${_keyboard_layout} runtmchk)
     endif()