summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--premake5.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/premake5.lua b/premake5.lua
index e5db2dd0..65443714 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -1,4 +1,4 @@
-Librw = os.getenv("LIBRW")
+Librw = os.getenv("LIBRW") or "librw"
workspace "re3"
configurations { "Debug", "Release", "ReleaseFH", "DebugRW", "ReleaseRW" }
@@ -54,8 +54,8 @@ workspace "re3"
filter "configurations:Debug or Release"
files { "src/fakerw/*.*" }
includedirs { "src/fakerw" }
- includedirs { "librw" }
- libdirs { path.join("librw", "lib/win-x86-d3d9/%{cfg.buildcfg}") }
+ includedirs { Librw }
+ libdirs { path.join(Librw, "lib/win-x86-d3d9/%{cfg.buildcfg}") }
links { "rw", "d3d9" }
filter {}