Adding MTd for statically linking in Windows due to asan dll's not being in path by default.
This commit is contained in:
parent
586ad62fed
commit
b55e654cce
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#compile with warnings
|
||||
if(WIN32)
|
||||
add_compile_options(/W4 /WX)
|
||||
add_compile_options(/W4 /WX "$<$<CONFIG:DEBUG>:/MTd>")
|
||||
else()
|
||||
add_compile_options(-Wall -Wextra -pedantic -Werror)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue