Adding MTd for statically linking in Windows due to asan dll's not being in path by default.

This commit is contained in:
Ólafur Waage 2021-09-02 10:37:03 +02:00
parent 586ad62fed
commit b55e654cce

View file

@ -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()