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})