[CMAKE/MSVC]
[reactos.git] / reactos / cmake / CMakeMacros.cmake
index b21cc87..85eff72 100644 (file)
@@ -502,14 +502,6 @@ function(add_importlibs _module)
         if("${LIB}" MATCHES "msvcrt")
             add_target_compile_definitions(${_module} _DLL __USE_CRTIMP)
             target_link_libraries(${_module} msvcrtex)
-            if(MSVC)
-                if(RUNTIME_CHECKS)
-                    if(NOT ${_module} STREQUAL "kernel32")
-                        add_target_compile_flags(${_module} "/RTC1")
-                        target_link_libraries(${_module} RunTmChk.lib)
-                    endif()
-                endif()
-            endif()
         endif()
         target_link_libraries(${_module} lib${LIB})
         add_dependencies(${_module} lib${LIB})