summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 18:22:29 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-17 18:22:29 +0200
commit6822cc5de85ffc393d7bf89c2b83fe980935d240 (patch)
treefe425662431dc802692e9cf02810ff641317415c /premake5.lua
parentWe don't need rw.cpp anymore (diff)
downloadre3-6822cc5de85ffc393d7bf89c2b83fe980935d240.tar
re3-6822cc5de85ffc393d7bf89c2b83fe980935d240.tar.gz
re3-6822cc5de85ffc393d7bf89c2b83fe980935d240.tar.bz2
re3-6822cc5de85ffc393d7bf89c2b83fe980935d240.tar.lz
re3-6822cc5de85ffc393d7bf89c2b83fe980935d240.tar.xz
re3-6822cc5de85ffc393d7bf89c2b83fe980935d240.tar.zst
re3-6822cc5de85ffc393d7bf89c2b83fe980935d240.zip
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 {}