disable static runtime for glfw

This commit is contained in:
withmorten 2020-11-01 01:17:14 +01:00
parent e9735f928f
commit db7c3bda7d
1 changed files with 5 additions and 3 deletions

View File

@ -145,7 +145,6 @@ workspace "re3"
filter "platforms:*librw_gl3_glfw*"
defines { "RW_GL3" }
staticruntime "Off"
includedirs { path.join(_OPTIONS["glewdir"], "include") }
if(not _OPTIONS["with-librw"]) then
libdirs { path.join(Librw, "lib/%{getsys(cfg.system)}-%{getarch(cfg.architecture)}-gl3/%{cfg.buildcfg}") }
@ -210,8 +209,8 @@ project "librw"
libdirs { "/opt/local/lib" }
libdirs { "/usr/local/lib" }
filter "platforms:*librw_gl3_glfw*"
staticruntime "Off"
filter "platforms:*gl3_glfw*"
staticruntime "off"
filter "platforms:*RW33*"
flags { "ExcludeFromBuild" }
@ -307,6 +306,9 @@ project "re3"
characterset ("MBCS")
targetextension ".exe"
staticruntime "on"
filter "platforms:win*glfw*"
staticruntime "off"
filter "platforms:win*oal"
includedirs { "vendor/openal-soft/include" }