diff options
author | withmorten <morten.with@gmail.com> | 2020-11-01 01:17:14 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-11-01 01:17:14 +0100 |
commit | db7c3bda7d13a01a3bee48b6a195a772d06e3c82 (patch) | |
tree | ec3aaa6caf249c2bb562c029dce74428b6a22c49 | |
parent | add ifdef LIBRW guard for pipelines and colourfilter (diff) | |
download | re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.tar re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.tar.gz re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.tar.bz2 re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.tar.lz re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.tar.xz re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.tar.zst re3-db7c3bda7d13a01a3bee48b6a195a772d06e3c82.zip |
-rw-r--r-- | premake5.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/premake5.lua b/premake5.lua index 6bdb6f32..b8ab1491 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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" }
|