commit 5e53ea1e8ba56994b29a1c896c023c8e69ede909 parent e4c94b3402b94c40696d62e03d6bbc110b51ce8d Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Aug 31 22:51:07 +0300 MSVC warnings Diffstat:
libs/glfw.lua | | | 3 | ++- |
diff --git a/libs/glfw.lua b/libs/glfw.lua @@ -10,7 +10,8 @@ if OS == "windows" then "libs/glfw/src/wgl_context", "libs/glfw/src/egl_context", "libs/glfw/src/osmesa_context", } ) - obj_cxxflags( "libs/glfw/src/%", "/c /O2 /TC /D_GLFW_WIN32 /wd4152 /wd4204 /wd4244" ) -- compile as c + obj_cxxflags( "libs/glfw/src/%", "/c /TC /D_GLFW_WIN32" ) -- compile as c + obj_cxxflags( "libs/glfw/src/%", "/wd4152 /wd4204 /wd4244 /wd4456" ) elseif OS == "linux" then lib( "glfw", { "libs/glfw/src/x11_init", "libs/glfw/src/x11_monitor", "libs/glfw/src/x11_window",