diff options
author | protomors <protomors@gmail.com> | 2018-11-21 22:14:18 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-12 18:09:25 +0300 |
commit | 2bf83ee891571e83f3f01772ac994fbb391b2c78 (patch) | |
tree | edc88bc137c13165e21c9702ce903b3233cfff3d /src/miranda32/CMakeLists.txt | |
parent | 073240e12516713abc88de22c0d598e4e78454b8 (diff) |
CMake: delayed dll loading.
Diffstat (limited to 'src/miranda32/CMakeLists.txt')
-rw-r--r-- | src/miranda32/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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}/$<CONFIG>" )
\ No newline at end of file |