[win] Disable warning 4244 on MSVC

This commit is contained in:
David Capello 2020-04-16 11:18:45 -03:00
parent ae9c37e90c
commit 58e78ad886

View File

@ -19,6 +19,7 @@ if(MSVC)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-wd4267) # disable warnings about signed/unsigned comparison
add_definitions(-wd4244) # disable warnings about possible loss of data
else()
# disable warnings about signed/unsigned comparison
add_definitions(-Wno-sign-compare)