Skip to content

Commit 0e43b19

Browse files
authored
Fix Heap Alloction issues in QTFred (#7334)
* Build using /MD flag if building QTFred and on windows Fixes Multiple QTFred heap crashes due to mismatched runtime types. * Actually Change Right value
1 parent 636390b commit 0e43b19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/toolchain-msvc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if (MSVC_RELEASE_DEBUGGING)
7171
endif()
7272
endif()
7373

74-
IF(MSVC_USE_RUNTIME_DLL)
74+
IF(MSVC_USE_RUNTIME_DLL OR FSO_BUILD_QTFRED)
7575
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<NOT:$<CONFIG:Release>>:Debug>DLL")
7676
add_compile_definitions(_AFXDLL)
7777
ELSE(MSVC_USE_RUNTIME_DLL)

0 commit comments

Comments
 (0)