Skip to content

Commit

Permalink
Align MSVC runtime (MD[d], MT) options to engine godotengine#1647
Browse files Browse the repository at this point in the history
Engine has an option to link to MDd debug_crt
add flag to Scons options
Add flag to CMAKE options
  • Loading branch information
enetheru committed Nov 27, 2024
1 parent a42b363 commit 35421a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function( windows_generate TARGET_NAME )
target_compile_options( ${TARGET_NAME}
PUBLIC
$<${IS_MSVC}:
$<IF:${STATIC_CPP},/MT,/MD>$<${IS_DEV}:d> # Link microsoft runtime
$<IF:${STATIC_CPP},/MT,/MD> # Link microsoft runtime
>
)
target_link_options( ${TARGET_NAME}
Expand Down

0 comments on commit 35421a6

Please sign in to comment.