From 2bf83ee891571e83f3f01772ac994fbb391b2c78 Mon Sep 17 00:00:00 2001 From: protomors Date: Wed, 21 Nov 2018 22:14:18 +0200 Subject: CMake: delayed dll loading. --- src/miranda32/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/miranda32/CMakeLists.txt') diff --git a/src/miranda32/CMakeLists.txt b/src/miranda32/CMakeLists.txt index 2375cb76d6..e04ff988a3 100644 --- a/src/miranda32/CMakeLists.txt +++ b/src/miranda32/CMakeLists.txt @@ -7,6 +7,6 @@ endif() add_executable(${TARGET} ${SOURCES}) include_directories(.) set_target_properties(${TARGET} PROPERTIES - LINK_FLAGS "/SUBSYSTEM:WINDOWS" + LINK_FLAGS "/SUBSYSTEM:WINDOWS /DELAYLOAD:ucrtbased.dll /DELAYLOAD:vcruntime140.dll" RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$" ) \ No newline at end of file -- cgit v1.2.3