Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Use LIBRW env var it it's set
  • Loading branch information
Sergeanur committed Apr 17, 2020
1 parent 64cf568 commit 6822cc5de85ffc393d7bf89c2b83fe980935d240
Showing with 3 additions and 3 deletions.
  1. +3 −3 premake5.lua
@@ -1,4 +1,4 @@
Librw = os.getenv("LIBRW") Librw = os.getenv("LIBRW") or "librw"


workspace "re3" workspace "re3"
configurations { "Debug", "Release", "ReleaseFH", "DebugRW", "ReleaseRW" } configurations { "Debug", "Release", "ReleaseFH", "DebugRW", "ReleaseRW" }
@@ -54,8 +54,8 @@ workspace "re3"
filter "configurations:Debug or Release" filter "configurations:Debug or Release"
files { "src/fakerw/*.*" } files { "src/fakerw/*.*" }
includedirs { "src/fakerw" } includedirs { "src/fakerw" }
includedirs { "librw" } includedirs { Librw }
libdirs { path.join("librw", "lib/win-x86-d3d9/%{cfg.buildcfg}") } libdirs { path.join(Librw, "lib/win-x86-d3d9/%{cfg.buildcfg}") }
links { "rw", "d3d9" } links { "rw", "d3d9" }
filter {} filter {}


0 comments on commit 6822cc5

Please sign in to comment.