disable static runtime for glfw

This commit is contained in:
withmorten 2020-11-01 01:17:14 +01:00
parent e9735f928f
commit db7c3bda7d

View File

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