Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use LIBRW env var it it's set
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+3
−3
premake5.lua
There are no files selected for viewing
|
|
@@ -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 {} |
|
|
|
|
|
|