MSVC => DIsable warning 4244

This commit is contained in:
ArthurSonzogni 2020-03-25 02:06:14 +01:00
parent 6e22a10eb7
commit d20d2ab19e

View File

@ -106,6 +106,7 @@ foreach(lib screen dom component)
if (MSVC)
target_compile_options(${lib} PRIVATE "/W4")
target_compile_options(${lib} PRIVATE "/WX")
target_compile_options(${lib} PRIVATE "/wd4244")
else()
target_compile_options(${lib} PRIVATE "-Wall")
target_compile_options(${lib} PRIVATE "-Wextra")