mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 06:18:59 +00:00
disable static runtime for glfw
This commit is contained in:
parent
e9735f928f
commit
db7c3bda7d
1 changed files with 5 additions and 3 deletions
|
@ -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" }
|
||||||
|
|
Loading…
Reference in a new issue