Suppress warnings about loss of precision in win32;

This commit is contained in:
bjorn 2017-10-21 21:51:39 -07:00
parent c8a226fc78
commit 1bc62595e1
1 changed files with 3 additions and 0 deletions

View File

@ -309,6 +309,9 @@ target_link_libraries(lovr
)
if(WIN32)
# Disable warnings about loss of precision for lua_Number
set_target_properties(lovr PROPERTIES COMPILE_FLAGS "/wd4244")
function(move_dll ARG_TARGET)
add_custom_command(TARGET lovr POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy