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
|
#compile with warnings
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_compile_options(/W4 /WX)
|
add_compile_options(/W4 /WX "$<$<CONFIG:DEBUG>:/MTd>")
|
||||||
else()
|
else()
|
||||||
add_compile_options(-Wall -Wextra -pedantic -Werror)
|
add_compile_options(-Wall -Wextra -pedantic -Werror)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue